projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899055e
)
Avoid an unnecessary call to intern
author
Stefan Kangas
<stefankangas@gmail.com>
Mon, 19 Sep 2022 09:06:01 +0000
(11:06 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Mon, 19 Sep 2022 09:38:49 +0000
(11:38 +0200)
* src/doc.c (Fdocumentation): Prefer DEFSYM to using intern directly.
src/doc.c
patch
|
blob
|
history
diff --git
a/src/doc.c
b/src/doc.c
index d98d121ebd5d1f2288715b47bf253e469db855a8..67a5f845b93f417af08d55a9e134d16217f3467d 100644
(file)
--- a/
src/doc.c
+++ b/
src/doc.c
@@
-342,7
+342,7
@@
string is passed through `substitute-command-keys'. */)
doc = module_function_documentation (XMODULE_FUNCTION (fun));
#endif
else
- doc = call1 (
intern ("function-documentation")
, fun);
+ doc = call1 (
Qfunction_documentation
, fun);
/* If DOC is 0, it's typically because of a dumped file missing
from the DOC file (bug in src/Makefile.in). */