]> git.eshelyaron.com Git - emacs.git/commit
New Eldoc function `eldoc-show-help-at-pt'
authorDaniel Mendler <mail@daniel-mendler.de>
Sat, 22 Mar 2025 09:29:45 +0000 (10:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:33:14 +0000 (10:33 +0200)
commitd2d580ea0b171cd8dbce29038d6832c7fc0f6556
tree86daee6cab271890de0ddc5222d4d823454a6c7c
parentd090157669dde96fbf973d36b0c8fa9d36c1e35c
New Eldoc function `eldoc-show-help-at-pt'

Show `help-at-pt' string via Eldoc as an alternative to the
`help-at-pt-display-when-idle' timer.  The help-at-pt timer
competes with Eldoc for the echo area, such that the two
mechanisms do not work well together.  Therefore when using
Eldoc, the setting `eldoc-help-at-pt' may be preferable.
* lisp/emacs-lisp/eldoc.el (eldoc-help-at-pt): New customization option.
(eldoc-show-help-at-pt): New Eldoc function.
(eldoc-documentation-functions): Register the new function.
* lisp/help-at-pt.el (help-at-pt-display-when-idle): Mention
`eldoc-help-at-pt' in the docstring.
* doc/emacs/help.texi: Document `eldoc-help-at-pt'.
* etc/NEWS: Announce the change.  (Bug#77169)

(cherry picked from commit ab71699e5f2502aff6c65dd195611cfbbe2f2255)
doc/emacs/help.texi
lisp/emacs-lisp/eldoc.el
lisp/help-at-pt.el