emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c7e297e: Prevent ElDoc blinking when eldoc-documentation-enthusia


From: João Távora
Subject: master c7e297e: Prevent ElDoc blinking when eldoc-documentation-enthusiast is used
Date: Sat, 29 Aug 2020 09:35:15 -0400 (EDT)

branch: master
commit c7e297e90669dfa7f77eb4eb2b5c846f90fa0b23
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Prevent ElDoc blinking when eldoc-documentation-enthusiast is used
    
    This eldoc-documentation-strategy function didn't always obey protocol
    since it returned nil sometimes, which the eldoc engine took it as a
    hint for the "old" protocol to clear the echo area.
    
    * lisp/emacs-lisp/eldoc.el (eldoc-documentation-enthusiast):
    Return t.
    (Version): Bump to 1.9.0
---
 lisp/emacs-lisp/eldoc.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 4825b5c..6bb732e 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -5,7 +5,7 @@
 ;; Author: Noah Friedman <friedman@splode.com>
 ;; Keywords: extensions
 ;; Created: 1995-10-06
-;; Version: 1.8.0
+;; Version: 1.9.0
 ;; Package-Requires: ((emacs "26.3"))
 
 ;; This is a GNU ELPA :core package.  Avoid functionality that is not
@@ -573,7 +573,8 @@ Meant as a value for `eldoc-documentation-strategy'."
                       (let* ((callback (eldoc--make-callback :enthusiast))
                              (str (funcall f callback)))
                         (if (stringp str) (funcall callback str))
-                        nil))))
+                        nil)))
+  t)
 
 ;; JT@2020-07-10: ElDoc is pre-loaded, so in Emacs < 28 we can't
 ;; make the "old" `eldoc-documentation-function' point to the new



reply via email to

[Prev in Thread] Current Thread [Next in Thread]