bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc


From: Stefan Monnier
Subject: bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc
Date: Sun, 28 Mar 2021 12:37:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>   (when (function-equal #'ignore eldoc-documentation-function)
>         (setq-local eldoc-documentation-function 
> #'eldoc-documentation-default|compose|whatever))))

BTW, using code like the one above is tolerable, usually for historical
reasons, but new APIs should aim not to need such things: comparing
functions is fundamentally always a hack.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]