mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-01 03:11:09 -08:00
(Fdocumentation): Use NATNUMP instead of its expansion.
This commit is contained in:
parent
be3bfff196
commit
81c1bd20f7
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ string is passed through `substitute-command-keys'.")
|
|||
tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING];
|
||||
if (STRINGP (tem))
|
||||
doc = tem;
|
||||
else if (INTEGERP (tem) && XINT (tem) >= 0)
|
||||
else if (NATNUMP (tem))
|
||||
doc = get_doc_string (XFASTINT (tem));
|
||||
else
|
||||
return Qnil;
|
||||
|
|
@ -189,7 +189,7 @@ subcommands.)");
|
|||
tem = Fcar (Fcdr (Fcdr (fun)));
|
||||
if (STRINGP (tem))
|
||||
doc = tem;
|
||||
else if (INTEGERP (tem) && XINT (tem) >= 0)
|
||||
else if (NATNUMP (tem))
|
||||
doc = get_doc_string (XFASTINT (tem));
|
||||
else
|
||||
return Qnil;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue