Subject: bug#61457: 30.0.50; compiler falsely complains missing ‘describe-char-display’

From: Andreas Röhler <[email-masked]>
Date: Tue, 14 Feb 2023 09:21:16 +0100

Am 14.02.23 um 04:33 schrieb Eli Zaretskii:
>> From: Stefan Monnier <[email-masked]>
>> Cc: [email-masked],  [email-masked]
>> Date: Mon, 13 Feb 2023 16:01:10 -0500
>>
>>>>> Don't understand why `symbol-function' of `help-fns--analyze-function' knows
>>>>> about it, but compiler and REPL not.
>>>> I believe you're confused:
>>>>
>>>>      ELISP> (symbol-function 'describe-char-display)
>>>>      nil
>>>>      ELISP> (help-fns--analyze-function 'describe-char-display)
>>>>      *** Eval error ***  Symbol’s function definition is void: describe-char-display
>>>>      ELISP>
>>>>
>>>> My crystal ball suggests you have tested these in an Emacs where
>>>> `descr-text` happened to be loaded already.
>>> No, "C-h f describe-char-display RET" loads descr-text.
>> `C-h f` is not the same as `symbol-function` or
>> `help-fns--analyze-function`.  You're just seeing
>> `help-enable-auto-load` in action.
> If you read the OP, it was "C-h f" that Andreas used, AFAIU.

Correct. BTW have to yank `describe-char-display' at the prompt after 
"Describe function".

When calling C-h f a second time, it's filled in: (default 
describe-char-display):