From: Stefan Kangas Date: Mon, 19 Sep 2022 09:06:01 +0000 (+0200) Subject: Avoid an unnecessary call to intern X-Git-Tag: emacs-29.0.90~1856^2~372^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97679d06e854da4656b64df1bafa9a321c05349d;p=emacs.git Avoid an unnecessary call to intern * src/doc.c (Fdocumentation): Prefer DEFSYM to using intern directly. --- 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). */