mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-08 07:12:15 -07:00
Fix text visibility issue with show-paren--show-context-in-overlay
* lisp/paren.el (show-paren--show-context-in-overlay): Fix issue where the overlay's text was hardly visible in certain cases (bug#59527).
This commit is contained in:
parent
1e807c5376
commit
ded80d0d49
1 changed files with 4 additions and 3 deletions
|
|
@ -434,9 +434,10 @@ It is the default value of `show-paren-data-function'."
|
|||
(overlay-put show-paren--context-overlay 'priority
|
||||
show-paren-priority)
|
||||
(overlay-put show-paren--context-overlay
|
||||
'face `(:box
|
||||
( :line-width (1 . -1)
|
||||
:color ,(face-attribute 'shadow :foreground))))
|
||||
'face `( :inherit default
|
||||
:box
|
||||
( :line-width (1 . -1)
|
||||
:color ,(face-attribute 'shadow :foreground))))
|
||||
(add-hook 'post-command-hook #'show-paren--delete-context-overlay
|
||||
nil 'local))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue