emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-fontify-block


From: Gregory Heytings
Subject: Re: font-lock-fontify-block
Date: Thu, 11 Mar 2021 18:17:14 +0000



Also, I suspect that for your use case, we could have a general "refresh" command, which just calls `font-lock-flush`, which would not depend on the ill-defined notion of "block" (and wouldn't mess with the mark).


Yes, I agree that a

(defun font-lock-fontify-window ()
  (interactive)
  (font-lock-flush (window-start) (window-end)))

would probably be useful.



reply via email to

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