From 17231a26d8ca754dab4eaf54c93f179f3465fd0c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 15 Jan 2022 14:15:54 +0100 Subject: [PATCH] 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 a1f74f2097e..0065bba72e7 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)))))) -- 2.39.2