summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-19 11:06:01 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-19 11:38:49 +0200
commit97679d06e854da4656b64df1bafa9a321c05349d (patch)
treed30b49c12301356fec834fa50cf465b9e3d23f61
parent899055eef5b212d63e352ada2ac917d13c033a59 (diff)
downloademacs-97679d06e854da4656b64df1bafa9a321c05349d.tar.gz
emacs-97679d06e854da4656b64df1bafa9a321c05349d.tar.bz2
emacs-97679d06e854da4656b64df1bafa9a321c05349d.zip
Avoid an unnecessary call to intern
* src/doc.c (Fdocumentation): Prefer DEFSYM to using intern directly.
-rw-r--r--src/doc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index d98d121ebd5..67a5f845b93 100644
--- 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). */