]> git.eshelyaron.com Git - emacs.git/commit
Eldoc: Run eldoc-display-functions with original buffer (bug#78530)
authorYuan Fu <casouri@gmail.com>
Fri, 23 May 2025 00:57:37 +0000 (17:57 -0700)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 07:59:20 +0000 (09:59 +0200)
commitc889540cec266e51dc4ae97d36581cc1328edc5c
treec54c4b772254b81145988e8891051fcdb6117a2c
parent235338581d10904b908a39e7ec2987c1375a78b7
Eldoc: Run eldoc-display-functions with original buffer (bug#78530)

Also bump eldoc version so Eglot can require the new version
later.

* lisp/emacs-lisp/eldoc.el (eldoc--invoke-strategy): Run the
hook with the original buffer as the current buffer. This way
we're certain that the buffer-local value of
'eldoc-display-functions' is used.
(eldoc-display-functions): Update docstring.

(cherry picked from commit b85d9048f4a32c7c50894e991423d021d9f95317)
lisp/emacs-lisp/eldoc.el