1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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.
This commit is contained in:
Lars Ingebrigtsen 2022-01-15 14:15:54 +01:00
parent ae65f2089c
commit 17231a26d8

View file

@ -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))))))