emacs-devel
[Top][All Lists]
Advanced

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

Re: What to do when font-lock-flush + font-lock-ensure do less than font


From: Eli Zaretskii
Subject: Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?
Date: Mon, 22 Feb 2016 18:40:20 +0200

> Cc: address@hidden
> From: Clément Pit--Claudel <address@hidden>
> Date: Mon, 22 Feb 2016 11:29:10 -0500
> 
> > I think what you describe _is_ the proper way.  Can you show a test
> > case which demonstrates how calling font-lock-flush followed by
> > font-lock-ensure fails to do the job?
> 
> In any case where font-lock-fontified is nil
> font-lock-fontify-buffer will properly refontify the whole buffer,
> but font-lock-flush and font-lock ensure will not do anything.

That's not what I see in the code, that's why I asked for a test
case.  I'm probably missing something.



reply via email to

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