How to change color theme in [] and () in Emacs?

I want to have a very clear color in [] and (), but not the same.

+3
source share
2 answers

It depends on what is used faces, which, in turn, is determined by what modes majorand minorused in your buffer. If there are two different faces that match [] and (), then all you have to do is set up these faces. If there are no two persons, then you will need to determine one or both options that you want. The corresponding function is called defface.

+1
source

, [] () , char, M-x describe-char. char, char. .

-

(set-face-foreground 'facename "Orange")
(set-face-background 'facename "Purple")

, , :

set-face-background     
set-face-font   
set-face-inverse-video-p    
set-face-underline  
set-face-background-pixmap
set-face-foreground
set-face-stipple
set-face-underline-p

emacs.el, , , .

+1

Source: https://habr.com/ru/post/1774870/


All Articles