diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -166,7 +166,7 @@ string is passed through `substitute-command-keys'.") | |||
| 166 | tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING]; | 166 | tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING]; |
| 167 | if (STRINGP (tem)) | 167 | if (STRINGP (tem)) |
| 168 | doc = tem; | 168 | doc = tem; |
| 169 | else if (INTEGERP (tem) && XINT (tem) >= 0) | 169 | else if (NATNUMP (tem)) |
| 170 | doc = get_doc_string (XFASTINT (tem)); | 170 | doc = get_doc_string (XFASTINT (tem)); |
| 171 | else | 171 | else |
| 172 | return Qnil; | 172 | return Qnil; |
| @@ -189,7 +189,7 @@ subcommands.)"); | |||
| 189 | tem = Fcar (Fcdr (Fcdr (fun))); | 189 | tem = Fcar (Fcdr (Fcdr (fun))); |
| 190 | if (STRINGP (tem)) | 190 | if (STRINGP (tem)) |
| 191 | doc = tem; | 191 | doc = tem; |
| 192 | else if (INTEGERP (tem) && XINT (tem) >= 0) | 192 | else if (NATNUMP (tem)) |
| 193 | doc = get_doc_string (XFASTINT (tem)); | 193 | doc = get_doc_string (XFASTINT (tem)); |
| 194 | else | 194 | else |
| 195 | return Qnil; | 195 | return Qnil; |