]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent eldoc flicker when moving around
authorJoão Távora <joaotavora@gmail.com>
Sat, 5 Jan 2019 14:35:01 +0000 (14:35 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 5 Jan 2019 14:35:01 +0000 (14:35 +0000)
* eglot.el (eglot-eldoc-function): Return eldoc-last-message
immediately.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/198

lisp/progmodes/eglot.el

index 031a657fe903b54f001feb5a6feb9743af825877..98032b4a3e5e1a3f954269625cd5ba520814f732 100644 (file)
@@ -2070,7 +2070,7 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp."
                          ov)))
                    highlights))))
          :deferred :textDocument/documentHighlight))))
-  nil)
+  eldoc-last-message)
 
 (defun eglot-imenu (oldfun)
   "EGLOT's `imenu-create-index-function' overriding OLDFUN."