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

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

Re: Adding colour when font-lock in disabled


From: Eli Zaretskii
Subject: Re: Adding colour when font-lock in disabled
Date: Fri, 09 Dec 2022 14:07:40 +0200

> Date: Fri, 09 Dec 2022 08:26:52 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> > What is weird about it? font-lock-mode places face properties
> > according to the mode's definitions, so it will overwrite any face
> > properties you put manually. Thus the need to use a different
> > property, which font-lock-mode doesn't control.
> 
> If I  want to use and enforce colour property, could there be a function that 
> sets the colour irrpespective of whether font-lock is "on" or "off" ?

If by "I want" you mean the user, then please use the hi-lock-mode, as
I suggested in my other message.  This is the user-level facility
Emacs provides for these cases.



reply via email to

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