From 0912b013c95aad3fdbd28ed23da26d0d1beff0d1 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 22 Jun 2022 17:29:39 -0400 Subject: [PATCH 5/7] 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. --- lisp/whitespace.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 5ea2f782a3..e75b85ffac 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -2292,6 +2292,7 @@ whitespace-post-command-hook 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 -- 2.36.1