]> git.eshelyaron.com Git - emacs.git/commit
Introduce eldoc-display-functions
authorJoão Távora <joaotavora@gmail.com>
Sun, 6 Sep 2020 14:37:02 +0000 (15:37 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 24 Oct 2020 17:02:28 +0000 (18:02 +0100)
commit4c543a724f2caff41d97a323bd4fffe3e86e8471
tree2525691df42cf40b7677cbef71c6cecfa0807afa
parent8c2382d309b437dca94d453e4bd5f3169bb36bfb
Introduce eldoc-display-functions

See bug#43609.

* lisp/emacs-lisp/eldoc.el (eldoc--request-state): Add comment.
(eldoc--last-request-state): No longer buffer-local.
(eldoc--request-docs-p): Delete.
(eldoc-display-functions): New user variable.
(eldoc--doc-buffer-docs): New variable.
(eldoc-display-message-p): Rework.
(eldoc--format-doc-buffer): Rework from eldoc--handle-docs.
(eldoc-display-in-echo-area, eldoc-display-in-buffer): New
user-visible function.
(eldoc--invoke-strategy): Take INTERACTIVE arg.
Invoke eldoc-display-in-buffer
(eldoc-print-current-symbol-info): Simplify.
(Version): Bump to 1.11.0

* etc/NEWS: Mention eldoc-display-functions.
etc/NEWS
lisp/emacs-lisp/eldoc.el