emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/eglot 6c884c4 24/69: Fix #263: fix case when eglot-put-


From: João Távora
Subject: [elpa] externals/eglot 6c884c4 24/69: Fix #263: fix case when eglot-put-doc-in-help-buffer is nil
Date: Sun, 20 Oct 2019 08:21:46 -0400 (EDT)

branch: externals/eglot
commit 6c884c4622a8a238a2c15ac6db84ec657595a924
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Fix #263: fix case when eglot-put-doc-in-help-buffer is nil
    
    * eglot.el (eglot--eldoc-message): Check eglot-put-doc-in-help-buffer.
---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index f5d81e4..b9fc25c 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2075,7 +2075,8 @@ Buffer is displayed with `display-buffer', which obeys
   (when format
     (let ((string (apply #'format format args))) ;; FIXME: overworking?
       (when (or (eq t eglot-put-doc-in-help-buffer)
-                (funcall eglot-put-doc-in-help-buffer string))
+                (and eglot-put-doc-in-help-buffer
+                     (funcall eglot-put-doc-in-help-buffer string)))
         (with-current-buffer (eglot--help-buffer)
           (rename-buffer (format "*eglot-help for %s*" eglot--eldoc-hint))
           (let ((inhibit-read-only t))



reply via email to

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