From: Richard Hansen Date: Wed, 22 Jun 2022 21:29:39 +0000 (-0400) Subject: whitespace: Reset `whitespace-buffer-changed' when refontifying X-Git-Tag: emacs-29.0.90~1856^2~599 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99e8faa7257affd84c030fe02108769fe354709e;p=emacs.git 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. --- diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 57c22146956..4a8117b75e0 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -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