diff options
| author | Stefan Kangas | 2022-09-19 11:06:01 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-09-19 11:38:49 +0200 |
| commit | 97679d06e854da4656b64df1bafa9a321c05349d (patch) | |
| tree | d30b49c12301356fec834fa50cf465b9e3d23f61 /src | |
| parent | 899055eef5b212d63e352ada2ac917d13c033a59 (diff) | |
| download | emacs-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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). */ |