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:36:39 +0200

> Date: Fri, 09 Dec 2022 12:27:22 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> What if I try to do something different.  Making a buffer for a package where 
> users are not expected to change it.  For instance, a package could make a 
> named buffer that logs some operations, with certain things coloured.  The 
> faces would not change dynamically because users cannot edit the buffer text.

Then you don't need font-lock.  Just place your faces after turning
off font-lock.



reply via email to

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