From 97679d06e854da4656b64df1bafa9a321c05349d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 19 Sep 2022 11:06:01 +0200 Subject: [PATCH] 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 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). */ -- 2.39.2