emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-fontify-block


From: Eli Zaretskii
Subject: Re: font-lock-fontify-block
Date: Thu, 11 Mar 2021 22:19:55 +0200

> Date: Thu, 11 Mar 2021 22:10:31 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: larsi@gnus.org, emacs-devel@gnu.org
> 
> > Would you be OK with the idea of deprecating the use of
> > `font-lock-fontify-block' for the specific case where font-lock is
> > not enabled?
> 
> I only ever use it in that case to _remove_ the faces from text yanked
> from a fontified buffer.  So that's another important use case for
> M-o M-o.

Actually, I see I've misremembered: this is handy not when
font-lock-mode is off, but when it's on and I yank text from another
mode.  A typical use case is when I yank from some program fragment
into a text-mode buffer: the original fontification is left alone
until I type M-o M-o.



reply via email to

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