]> git.eshelyaron.com Git - emacs.git/commit
Fix ElDoc's eldoc-documentation-enthusiast strategy
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 Sep 2020 21:17:29 +0000 (22:17 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 Sep 2020 22:20:55 +0000 (23:20 +0100)
commitae6daa680a5f5f5fb9c6a15296e5e88c97cd770a
treeec5372df53e9d77019fa7462046c467c4148bcd3
parent7921b5db1049709a1d4ed143d1f44417d5087dc1
Fix ElDoc's eldoc-documentation-enthusiast strategy

As soon as we get a response from any of the user functions/sources in
eldoc-documentation-functions, we must make sure to call the
display-doc local function, just like in the other strategies.

That is even if that response produced nil, meaning that there's no
doc coming from that source.  Failure to do so when none of the
sources produced non-nil would keep stale documentation displaying.

First reported in https://github.com/joaotavora/eglot/issues/503

* lisp/emacs-lisp/eldoc.el (eldoc--invoke-strategy): Fix
:enthusiast strategy.
(Version): Bump to 1.10.0
lisp/emacs-lisp/eldoc.el