|
From: | Gregory Heytings |
Subject: | Re: font-lock-fontify-block |
Date: | Thu, 11 Mar 2021 20:19:51 +0000 |
Indeed (but that one, just like `font-lock-fontify-block`) suffers from a heavy heritage so it's messy and misused, so I'd be very happy to obsolete it (by replacing it with something simpler and that only caters to the relevant cases).
In that case I would perhaps suggest: (defun font-lock-refontify (&optional arg) (interactive "P") (font-lock-flush (if arg (point-min) (window-start)) (if arg (point-max) (window-end)))) (global-set-key (kbd "C-x x f") 'font-lock-refontify) (global-set-key (kbd "C-x x F") 'font-lock-mode)
[Prev in Thread] | Current Thread | [Next in Thread] |