summaryrefslogtreecommitdiff
path: root/lisp/paren.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2022-02-07 21:03:53 +0100
committerTassilo Horn <tsdh@gnu.org>2022-02-07 21:03:53 +0100
commit919cbe2b7da2302a66a15a4611eef8a215bd5755 (patch)
tree4e117589f418d0b458823540847f50c6f5eda686 /lisp/paren.el
parent7a9b5e75045e38680ce0bbb0ec46ff1d7b1c0d5c (diff)
downloademacs-919cbe2b7da2302a66a15a4611eef8a215bd5755.tar.gz
emacs-919cbe2b7da2302a66a15a4611eef8a215bd5755.tar.bz2
emacs-919cbe2b7da2302a66a15a4611eef8a215bd5755.zip
; paren.el: fix comment speaking of an undefined variable
Diffstat (limited to 'lisp/paren.el')
-rw-r--r--lisp/paren.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/paren.el b/lisp/paren.el
index 6de4364b4ff..221cad3f05a 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -428,9 +428,9 @@ It is the default value of `show-paren-data-function'."
(current-buffer))
(move-overlay show-paren--overlay
there-beg there-end (current-buffer)))
- ;; If `show-paren-open-line-when-offscreen' is t and point
- ;; is at a close paren, show the line that contains the
- ;; openparen in the echo area.
+ ;; If `show-paren-context-when-offscreen' is non-nil and
+ ;; point is at a closing paren, show the context around the
+ ;; opening paren.
(let ((openparen (min here-beg there-beg)))
(if (and show-paren-context-when-offscreen
(< there-beg here-beg)