aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2022-09-19 11:06:01 +0200
committerStefan Kangas2022-09-19 11:38:49 +0200
commit97679d06e854da4656b64df1bafa9a321c05349d (patch)
treed30b49c12301356fec834fa50cf465b9e3d23f61 /src
parent899055eef5b212d63e352ada2ac917d13c033a59 (diff)
downloademacs-97679d06e854da4656b64df1bafa9a321c05349d.tar.gz
emacs-97679d06e854da4656b64df1bafa9a321c05349d.zip
Avoid an unnecessary call to intern
* src/doc.c (Fdocumentation): Prefer DEFSYM to using intern directly.
Diffstat (limited to 'src')
-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'. */)
342 doc = module_function_documentation (XMODULE_FUNCTION (fun)); 342 doc = module_function_documentation (XMODULE_FUNCTION (fun));
343#endif 343#endif
344 else 344 else
345 doc = call1 (intern ("function-documentation"), fun); 345 doc = call1 (Qfunction_documentation, fun);
346 346
347 /* If DOC is 0, it's typically because of a dumped file missing 347 /* If DOC is 0, it's typically because of a dumped file missing
348 from the DOC file (bug in src/Makefile.in). */ 348 from the DOC file (bug in src/Makefile.in). */