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

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

Re: Special hilighting for comments


From: Eli Zaretskii
Subject: Re: Special hilighting for comments
Date: Sat, 10 Dec 2022 19:16:57 +0200

> Date: Sat, 10 Dec 2022 17:11:38 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
> 
> > This works well:
> > 
> > (highlight-regexp "^;; \\[.*$")
> 
> Would it be possible to change only the foreground to some specified colour? 

Do you ever consult the built-in documentation before you ask
questions here?  Because the answer to that is right at your
fingertips: just type

  M-x customize-group RET hi-lock RET

and look there for relevant customizable settings (faces, in this
case).



reply via email to

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