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

From: Eli Zaretskii <[email-masked]>
Date: Sun, 12 Feb 2023 21:21:07 +0200

> Date: Sun, 12 Feb 2023 19:55:08 +0100
> From: Andreas Röhler <[email-masked]>
> 
> when running ‘M-x byte-compile-file RET’ with the following form in it,
> 
> ---
> (describe-char-display (point) (char-after))
> ---
> 
> compiler complains:
> 
> ---
> In end of data:
> foo.el:6831:17: Warning: the function ‘describe-char-display’ is not known
>      to be defined.

Which is correct: you need to (require 'descr-text).

> Whereas ‘M-x describe-function RET’ tells correctly:
> 
> ---
> describe-char-display is a byte-compiled Lisp function in
> ‘descr-text.el’.
> 
> (describe-char-display POS CHAR)

Which is also correct.

So what is it that you are complaining about here?