]> git.eshelyaron.com Git - emacs.git/commit
Simplify eldoc usage ()
authorIngo Lohmar <ingo.lohmar@posteo.net>
Thu, 27 Jun 2019 16:56:45 +0000 (18:56 +0200)
committerJoão Távora <joaotavora@gmail.com>
Thu, 27 Jun 2019 16:56:45 +0000 (17:56 +0100)
commitd79232df76b8fc583cf340703d448fb54bb1bbc3
treea9c11acd206cd9550a388c2be8704b6c9723c4c5
parent8f80ae14559389ae49843efb98bbb4d5ef09cf41
Simplify eldoc usage ()

* eglot-tests.el (hover-after-completions): Protect test.  Rewrite
docstring.

* eglot.el (eglot--managed-mode): Don't mess with eldoc-message-function.
(eglot--eldoc-hint): Remove.
(eglot--update-doc): Rename and rewrite from eglot--eldoc-message.
(eglot-eldoc-function): Don't set eglot--eldoc-hint.
Call eglot--update-doc.

GitHub-reference: https://github.com/joaotavora/eglot/issues/269
lisp/progmodes/eglot.el