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: Anders Lindgren
Subject: Re: What to do when font-lock-flush + font-lock-ensure do less than font-lock-fontify-buffer?
Date: Mon, 22 Feb 2016 16:53:00 +0100

> I've been using `(font-lock-region (point-min) (point-max))' to force
> a refontification of the entire buffer, for my htmlize-like packages
> (`faceup' and `e2ani'). I'm not sure if it's the "right way" to do
> it, but it works in practice.

Thanks. Won't that refontify the whole buffer though, even the non-visible (and not yet fontified) areas, though? That would be a performance issue for me.

Yes, it does, so I guess this is not the correct solution for you.

    -- Anders


reply via email to

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