[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 97679d06e8 1/2: Avoid an unnecessary call to intern
From: |
Stefan Kangas |
Subject: |
master 97679d06e8 1/2: Avoid an unnecessary call to intern |
Date: |
Mon, 19 Sep 2022 05:39:12 -0400 (EDT) |
branch: master
commit 97679d06e854da4656b64df1bafa9a321c05349d
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Avoid an unnecessary call to intern
* src/doc.c (Fdocumentation): Prefer DEFSYM to using intern directly.
---
src/doc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/doc.c b/src/doc.c
index d98d121ebd..67a5f845b9 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). */