help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Matching Parentheses


From: Eli Zaretskii
Subject: Re: Matching Parentheses
Date: Sat, 03 Oct 2020 14:29:55 +0300

> From: Christopher Dimech <dimech@gmx.com>
> Date: Sat, 3 Oct 2020 12:39:33 +0200
> 
> (set-face-background 'show-paren-match (face-background 'default))
> (set-face-foreground 'show-paren-match "#def")
> (set-face-attribute 'show-paren-match nil :weight 'extra-bold)

This is wrong: show-paren-mode shows the parentheses with a different
background color, and you here set the background to the default one,
thus effectively disabling the feature.

Find a background color that makes the parentheses look prominently,
and change only the background of the show-paren-match face.  Leave
all the other attributes of the show-paren-match face unspecified.



reply via email to

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