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: Heime
Subject: Re: Adding colour when font-lock in disabled
Date: Fri, 09 Dec 2022 01:46:18 +0000

------- Original Message -------
On Friday, December 9th, 2022 at 12:50 AM, Heime <heimeborgia@protonmail.com> 
wrote:


> What is the procedure for adding colour to inserted text `(insert text)` in a 
> buffer when font-lock is disabled, like in fundamental-mode.
>

>From what I understand, when font-lock-mode is enabled, it takes over the face 
>property but provides an alias property - font-lock-face.  The font-lock-face 
>property bypasses font-lock to allow coloured text.

Really weird stuff because if you want to allow someone to specify face 
property, just allow them to specify it.





reply via email to

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