1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

whitespace: Reset `whitespace-buffer-changed' when refontifying

* lisp/whitespace.el (whitespace-post-command-hook): Add missing reset
of `whitespace-buffer-changed' back to nil between commands.
This commit is contained in:
Richard Hansen 2022-06-22 17:29:39 -04:00 committed by Lars Ingebrigtsen
parent dd02725c57
commit 99e8faa725

View File

@ -2292,6 +2292,7 @@ buffer."
Also refontify when necessary."
(unless (and (eq whitespace-point (point))
(not whitespace-buffer-changed))
(setq-local whitespace-buffer-changed nil)
(setq whitespace-point (point)) ; current point position
(let ((refontify
(cond