aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2020-10-05 00:24:54 +0100
committerJoão Távora2020-10-05 00:25:56 +0100
commit2563620303fa5cf7abd9b95fa9ed69e6b8a52e12 (patch)
tree64bed8426c54b4c150479303eb6eb8e17cfbc0b1
parent16db4323a258d1627a81044cb4134ce3c64332cf (diff)
downloademacs-scratch/eldoc-display-functions.tar.gz
emacs-scratch/eldoc-display-functions.zip
Remove spurious display-buffer call in eldoc--echo-area-substringscratch/eldoc-display-functions
* lisp/emacs-lisp/eldoc.el (eldoc--echo-area-substring): Remove spurious display-buffer call.
-rw-r--r--lisp/emacs-lisp/eldoc.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 89fc93c6154..4c8d8222ea5 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."
486(defun eldoc--echo-area-substring (available) 486(defun eldoc--echo-area-substring (available)
487 "Given AVAILABLE lines, get buffer substring to display in echo area. 487 "Given AVAILABLE lines, get buffer substring to display in echo area.
488Helper for `eldoc-display-in-echo-area'." 488Helper for `eldoc-display-in-echo-area'."
489 (display-buffer (current-buffer))
490 (let ((start (prog1 (progn 489 (let ((start (prog1 (progn
491 (goto-char (point-min)) 490 (goto-char (point-min))
492 (skip-chars-forward " \t\n") 491 (skip-chars-forward " \t\n")