summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@rhansen.org>2022-06-22 17:29:39 -0400
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-11 13:46:30 +0200
commit99e8faa7257affd84c030fe02108769fe354709e (patch)
tree860529e6e56234e8b8a0ac267c2ab6f9ed3198ff
parentdd02725c57088550255ec00438513f849dcf6a4c (diff)
downloademacs-99e8faa7257affd84c030fe02108769fe354709e.tar.gz
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.
-rw-r--r--lisp/whitespace.el1
1 files changed, 1 insertions, 0 deletions
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