summaryrefslogtreecommitdiff
path: root/lisp/reveal.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/reveal.el')
-rw-r--r--lisp/reveal.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/reveal.el b/lisp/reveal.el
index c01afd9739a..697df45c5c3 100644
--- a/lisp/reveal.el
+++ b/lisp/reveal.el
@@ -67,13 +67,11 @@ revealed text manually."
:type 'boolean
:version "28.1")
-(defvar reveal-open-spots nil
+(defvar-local reveal-open-spots nil
"List of spots in the buffer which are open.
Each element has the form (WINDOW . OVERLAY).")
-(make-variable-buffer-local 'reveal-open-spots)
-(defvar reveal-last-tick nil)
-(make-variable-buffer-local 'reveal-last-tick)
+(defvar-local reveal-last-tick nil)
;; Actual code