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

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

Re: Inserting background colour at column


From: Heime
Subject: Re: Inserting background colour at column
Date: Sat, 03 Dec 2022 07:31:26 +0000





Sent with Proton Mail secure email.

------- Original Message -------
On Saturday, December 3rd, 2022 at 7:20 AM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Date: Sat, 03 Dec 2022 03:36:27 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: Heime via Users list for the GNU Emacs text editor 
> > help-gnu-emacs@gnu.org
> > The following did not colourise the letter "T".
> > 
> > (insert (propertize "T" 'face '(:foreground "green" :background "blue")))
> 
> 
> You cannot add faces in a buffer with font-lock-mode turned on, because
> font-lock wants to control all faces. Use 'font-lock-face' instead of
> 'face' in that case.

Thank you.  That works very well.



reply via email to

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