Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
81c1bd20
Commit
81c1bd20
authored
Nov 16, 1994
by
Karl Heuer
Browse files
(Fdocumentation): Use NATNUMP instead of its expansion.
parent
be3bfff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/doc.c
src/doc.c
+2
-2
No files found.
src/doc.c
View file @
81c1bd20
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment