emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2399541: Remove font-lock toggle from font-lock-update


From: Gregory Heytings
Subject: Re: master 2399541: Remove font-lock toggle from font-lock-update
Date: Thu, 25 Mar 2021 10:14:06 +0000


I'd much prefer a longer `font-lock-fontify-diwm` which tries to reproduce more or less the same behavior as your favorite, but by explicitly testing the different circumstances you care about.

Sure. It could, for instance, refontify the region (if selected) instead of the entire buffer. And probably a lot of other DWIM-ish niceness.


Here's a patch to do this, and to fix the problem when "too large" buffers are refontified (xdisp.c for example).

Attachment: 0001-Improve-font-lock-update-and-rename-it-to-font-lock-.patch
Description: Text Data


reply via email to

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