emacs-diffs
[Top][All Lists]
Advanced

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

scratch/eldoc-display-functions 2563620: Remove spurious display-buffer


From: João Távora
Subject: scratch/eldoc-display-functions 2563620: Remove spurious display-buffer call in eldoc--echo-area-substring
Date: Sun, 4 Oct 2020 19:26:04 -0400 (EDT)

branch: scratch/eldoc-display-functions
commit 2563620303fa5cf7abd9b95fa9ed69e6b8a52e12
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Remove spurious display-buffer call in eldoc--echo-area-substring
    
    * lisp/emacs-lisp/eldoc.el (eldoc--echo-area-substring): Remove
    spurious display-buffer call.
---
 lisp/emacs-lisp/eldoc.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 89fc93c..4c8d822 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -486,7 +486,6 @@ This holds the results of the last documentation request."
 (defun eldoc--echo-area-substring (available)
   "Given AVAILABLE lines, get buffer substring to display in echo area.
 Helper for `eldoc-display-in-echo-area'."
-  (display-buffer (current-buffer))
   (let ((start (prog1 (progn
                         (goto-char (point-min))
                         (skip-chars-forward " \t\n")



reply via email to

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