[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 1625123: Fix eldoc usage of newly introduced variable
From: |
Lars Ingebrigtsen |
Subject: |
master 1625123: Fix eldoc usage of newly introduced variable |
Date: |
Thu, 18 Nov 2021 04:35:18 -0500 (EST) |
branch: master
commit 1625123e4ceb8d23eef00f3944341ecf0a75dc77
Author: Greg Minshall <minshall@umich.edu>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix eldoc usage of newly introduced variable
* lisp/emacs-lisp/eldoc.el
(eldoc-display-message-no-interference-p): Make this function work
in older Emacs versions again (bug#51939).
---
lisp/emacs-lisp/eldoc.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index b30d3fc..cd0e7dc 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -385,7 +385,8 @@ Also store it in `eldoc-last-message' and return that
value."
;; The following configuration shows "Matches..." in the
;; echo area when point is after a closing bracket, which
;; conflicts with eldoc.
- (and show-paren-context-when-offscreen
+ (and (boundp 'show-paren-context-when-offscreen)
+ show-paren-context-when-offscreen
(not (pos-visible-in-window-p
(overlay-end show-paren--overlay)))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 1625123: Fix eldoc usage of newly introduced variable,
Lars Ingebrigtsen <=