]> git.eshelyaron.com Git - emacs.git/commit
ElDoc: make eldoc-display-in-echo-are useful from M-x eldoc
authorJoão Távora <joaotavora@gmail.com>
Tue, 5 Dec 2023 21:40:49 +0000 (15:40 -0600)
committerJoão Távora <joaotavora@gmail.com>
Tue, 5 Dec 2023 21:53:43 +0000 (15:53 -0600)
commitdc744fe6f3cd185bd9d29f61b08cd4c524e3969e
tree060fe470f79a4a7b587c996d002b732765b39c62
parentdf842a737d6cb2b70d9672a64826e04bb8249167
ElDoc: make eldoc-display-in-echo-are useful from M-x eldoc

M-x eldoc is ElDoc's interactive entry point for on-demand
documentation for users that don't want the behind-the-scenes idle
timer behaviour.

However, eldoc-display-in-echo-area, a member of
eldoc-display-functions, refused to do anything because it thought it
didn't have permission to use the echo area, which isn't true
in interactive use cases.  Fix that.

See also: https://github.com/joaotavora/eglot/discussions/1328

* lisp/emacs-lisp/eldoc.el (eldoc-display-in-echo-area): Use
INTERACTIVE argument.  Rework comments.
(Version): Bump to 1.15.0
lisp/emacs-lisp/eldoc.el