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:
parent
dd02725c57
commit
99e8faa725
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user