emacs-diffs
[Top][All Lists]
Advanced

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

master 17231a26d8: Don't strip properties in show-paren-function


From: Lars Ingebrigtsen
Subject: master 17231a26d8: Don't strip properties in show-paren-function
Date: Sat, 15 Jan 2022 08:16:08 -0500 (EST)

branch: master
commit 17231a26d8ca754dab4eaf54c93f179f3465fd0c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Don't strip properties in show-paren-function
    
    * lisp/paren.el (show-paren-function): Don't strip text properties
    (bug#51606) because that makes the offscreen context less
    informative.
---
 lisp/paren.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/paren.el b/lisp/paren.el
index a1f74f2097..0065bba72e 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -330,9 +330,7 @@ It is the default value of `show-paren-data-function'."
                 (let ((open-paren-line-string
                        (blink-paren-open-paren-line-string openparen))
                       (message-log-max nil))
-                  (minibuffer-message
-                   "Matches %s"
-                   (substring-no-properties open-paren-line-string)))))
+                  (minibuffer-message "Matches %s" open-paren-line-string))))
           ;; Always set the overlay face, since it varies.
           (overlay-put show-paren--overlay 'priority show-paren-priority)
           (overlay-put show-paren--overlay 'face face))))))



reply via email to

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