diff options
| author | Karl Heuer | 1994-11-16 01:03:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-11-16 01:03:33 +0000 |
| commit | 81c1bd20f7a80735bca618e830a2ca248f714fa6 (patch) | |
| tree | d1ac1827ddabfdd6d73e514e23e88df458ddbaf5 /src/doc.c | |
| parent | be3bfff196b6fbd2caf06e1696e4021f64672c4b (diff) | |
| download | emacs-81c1bd20f7a80735bca618e830a2ca248f714fa6.tar.gz emacs-81c1bd20f7a80735bca618e830a2ca248f714fa6.zip | |
(Fdocumentation): Use NATNUMP instead of its expansion.
Diffstat (limited to 'src/doc.c')
| -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; |