1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00

; whitespace: Delete unused `whitespace-font-lock-refontify' var

This commit is contained in:
Richard Hansen 2022-06-22 18:06:49 -04:00 committed by Lars Ingebrigtsen
parent 10573e0db7
commit b6da1e4221

View file

@ -1138,10 +1138,6 @@ Used by function `whitespace-trailing-regexp' (which see).")
(defvar-local whitespace-point--used nil (defvar-local whitespace-point--used nil
"Region whose highlighting depends on `whitespace-point'.") "Region whose highlighting depends on `whitespace-point'.")
(defvar whitespace-font-lock-refontify nil
"Used to save locally the font-lock refontify state.
Used by function `whitespace-post-command-hook' (which see).")
(defvar whitespace-bob-marker nil (defvar whitespace-bob-marker nil
"Used to save locally the bob marker value. "Used to save locally the bob marker value.
Used by function `whitespace-post-command-hook' (which see).") Used by function `whitespace-post-command-hook' (which see).")
@ -2061,7 +2057,6 @@ resultant list will be returned."
(setq whitespace-point--used (setq whitespace-point--used
(let ((ol (make-overlay (point) (point) nil nil t))) (let ((ol (make-overlay (point) (point) nil nil t)))
(delete-overlay ol) ol)) (delete-overlay ol) ol))
(setq-local whitespace-font-lock-refontify 0)
(setq-local whitespace-bob-marker (point-min-marker)) (setq-local whitespace-bob-marker (point-min-marker))
(setq-local whitespace-eob-marker (point-max-marker)) (setq-local whitespace-eob-marker (point-max-marker))
(setq-local whitespace-buffer-changed nil) (setq-local whitespace-buffer-changed nil)