]> git.eshelyaron.com Git - emacs.git/commitdiff
; paren.el: fix comment speaking of an undefined variable
authorTassilo Horn <tsdh@gnu.org>
Mon, 7 Feb 2022 20:03:53 +0000 (21:03 +0100)
committerTassilo Horn <tsdh@gnu.org>
Mon, 7 Feb 2022 20:03:53 +0000 (21:03 +0100)
lisp/paren.el

index 6de4364b4ff87763679b660e4f347ccca3b8a7a5..221cad3f05aec541eba62d314c64b9398de7b829 100644 (file)
@@ -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)