summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index 0eea73e..a92cb35 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -53,8 +53,7 @@ when `geiser-autodoc-display-module-p' is on."
;;; Procedure arguments:
-(make-variable-buffer-local
- (defvar geiser-autodoc--cached-signatures nil))
+(defvar-local geiser-autodoc--cached-signatures nil)
(defsubst geiser-autodoc--clean-cache ()
(setq geiser-autodoc--cached-signatures nil))
@@ -175,8 +174,7 @@ when `geiser-autodoc-display-module-p' is on."
;;; Autodoc functions:
-(make-variable-buffer-local
- (defvar geiser-autodoc--inhibit-function nil))
+(defvar-local geiser-autodoc--inhibit-function nil)
(defsubst geiser-autodoc--inhibit ()
(and geiser-autodoc--inhibit-function
@@ -204,9 +202,8 @@ when `geiser-autodoc-display-module-p' is on."
;;; Autodoc mode:
-(make-variable-buffer-local
- (defvar geiser-autodoc-mode-string " A"
- "Modeline indicator for geiser-autodoc-mode"))
+(defvar-local geiser-autodoc-mode-string " A"
+ "Modeline indicator for geiser-autodoc-mode")
(define-minor-mode geiser-autodoc-mode
"Toggle Geiser's Autodoc mode.