From: Richard Hansen Date: Wed, 22 Jun 2022 22:06:49 +0000 (-0400) Subject: ; whitespace: Delete unused `whitespace-font-lock-refontify' var X-Git-Tag: emacs-29.0.90~1856^2~601 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b6da1e4221ae50fe75c246deafe9d2455d4ca558;p=emacs.git ; whitespace: Delete unused `whitespace-font-lock-refontify' var --- diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 41b0a34f9ea..1d28ae2e1ca 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)