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

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

Font-lock seemingly interacting with insertion


From: Marcin Borkowski
Subject: Font-lock seemingly interacting with insertion
Date: Wed, 21 Mar 2018 06:28:36 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

Hi all,

I want to insert a string with a part made bold (using
`add-face-text-property').  In certain buffers (e.g. in Fundamental
mode) this works, but in some other ones (e.g. in Org-mode or
message-mode) it does not.  After turning font-lock off, it works back
again.  This means that font-lock kicks in right after inserting and
disables my boldface.

Is there a way to make it not happen, without turning font lock off?

I understand that my description is slightly vague, but I suspect that
knowledgeable people might know the answer right away.  If not, I can
provide code to show exactly what I am talking about.

TIA,

--
Marcin Borkowski
http://mbork.pl



reply via email to

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