emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 c5fb7301599: ; * lisp/paren.el (show-paren-function): Fix last


From: Eli Zaretskii
Subject: emacs-29 c5fb7301599: ; * lisp/paren.el (show-paren-function): Fix last change (bug#64547).
Date: Sat, 15 Jul 2023 03:21:14 -0400 (EDT)

branch: emacs-29
commit c5fb7301599dc249a877ce65175f2dbc3355b2ec
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/paren.el (show-paren-function): Fix last change (bug#64547).
---
 lisp/paren.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/paren.el b/lisp/paren.el
index 54a2c23f17f..6296d7e67fa 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -515,10 +515,9 @@ It is the default value of `show-paren-data-function'."
                                   ;; ...or partially visible, and the
                                   ;; invisible part is less than 1/4th
                                   ;; of the default font height
-                                  (or (< (length part) 4)
-                                      (and
+                                  (and (>= (length part) 4)
                                        (< (nth 2 part) dfh4)
-                                       (< (nth 3 part) dfh4)))))))
+                                       (< (nth 3 part) dfh4))))))
               (let ((context (blink-paren-open-paren-line-string
                               openparen))
                     (message-log-max nil))



reply via email to

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