mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-15 03:11:54 -07:00
Don't strip face properties in blink-paren-open-paren-line-string
With bug#59527 we ensured that the open paren line string was fontified which was broken again with bug#63089 because there, the opening paren was fontified with a new face. With this change, the returned string is fontified again. Only if `blink-matching-paren-highlight-offscreen' is non-nil, the opening paren is unfontified and then fontified again with the `blink-matching-paren-offscreen' face. * lisp/simple.el (blink-paren-open-paren-line-string): Keep returned line string fontified with slight exception if `blink-matching-paren-highlight-offscreen' is non-nil.
This commit is contained in:
parent
e2f445dfae
commit
7fba3c23df
1 changed files with 3 additions and 3 deletions
|
|
@ -9691,7 +9691,6 @@ face if `blink-matching-paren-highlight-offscreen' is non-nil."
|
|||
regions
|
||||
"..."))
|
||||
(openparen-next-char-idx (1+ openparen-idx)))
|
||||
(setq line-string (substring-no-properties line-string))
|
||||
(concat
|
||||
(substring line-string
|
||||
0 openparen-idx)
|
||||
|
|
@ -9699,8 +9698,9 @@ face if `blink-matching-paren-highlight-offscreen' is non-nil."
|
|||
(substring line-string
|
||||
openparen-idx openparen-next-char-idx)))
|
||||
(if blink-matching-paren-highlight-offscreen
|
||||
(propertize matched-offscreen-openparen
|
||||
'face 'blink-matching-paren-offscreen)
|
||||
(propertize
|
||||
(substring-no-properties matched-offscreen-openparen)
|
||||
'face 'blink-matching-paren-offscreen)
|
||||
matched-offscreen-openparen))
|
||||
(substring line-string
|
||||
openparen-next-char-idx))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue