emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b6da1e4221 2/6: ; whitespace: Delete unused `whitespace-font-lock


From: Lars Ingebrigtsen
Subject: master b6da1e4221 2/6: ; whitespace: Delete unused `whitespace-font-lock-refontify' var
Date: Sun, 11 Sep 2022 07:46:36 -0400 (EDT)

branch: master
commit b6da1e4221ae50fe75c246deafe9d2455d4ca558
Author: Richard Hansen <rhansen@rhansen.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    ; whitespace: Delete unused `whitespace-font-lock-refontify' var
---
 lisp/whitespace.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 41b0a34f9e..1d28ae2e1c 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -1138,10 +1138,6 @@ Used by function `whitespace-trailing-regexp' (which 
see).")
 (defvar-local whitespace-point--used nil
   "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
   "Used to save locally the bob marker value.
 Used by function `whitespace-post-command-hook' (which see).")
@@ -2061,7 +2057,6 @@ resultant list will be returned."
     (setq whitespace-point--used
           (let ((ol (make-overlay (point) (point) nil nil t)))
             (delete-overlay ol) ol))
-    (setq-local whitespace-font-lock-refontify 0)
     (setq-local whitespace-bob-marker (point-min-marker))
     (setq-local whitespace-eob-marker (point-max-marker))
     (setq-local whitespace-buffer-changed nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]