aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/whitespace.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 6a29eb258e5..326621e9c4c 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -2059,6 +2059,11 @@ options are valid."
2059 (cons sym the-list)))))) 2059 (cons sym the-list))))))
2060 the-list) 2060 the-list)
2061 2061
2062(defvar whitespace-display-table nil
2063 "Used to save a local display table.")
2064
2065(defvar whitespace-display-table-was-local nil
2066 "Used to remember whether a buffer initially had a local display table.")
2062 2067
2063(defun whitespace-turn-on () 2068(defun whitespace-turn-on ()
2064 "Turn on whitespace visualization." 2069 "Turn on whitespace visualization."
@@ -2264,13 +2269,6 @@ options are valid."
2264;;;; Hacked from visws.el (Miles Bader <miles@gnu.org>) 2269;;;; Hacked from visws.el (Miles Bader <miles@gnu.org>)
2265 2270
2266 2271
2267(defvar whitespace-display-table nil
2268 "Used to save a local display table.")
2269
2270(defvar whitespace-display-table-was-local nil
2271 "Used to remember whether a buffer initially had a local display table.")
2272
2273
2274(defsubst whitespace-char-valid-p (char) 2272(defsubst whitespace-char-valid-p (char)
2275 ;; This check should be improved!!! 2273 ;; This check should be improved!!!
2276 (or (< char 256) 2274 (or (< char 256)