summaryrefslogtreecommitdiff
path: root/elisp/geiser-company.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-04-21 20:54:12 +0200
committerJonas Bernoulli <jonas@bernoul.li>2021-04-21 21:38:40 +0200
commit2b45bd368b4acbcef53c3c761725241fb6846102 (patch)
tree21ea02e33460bc06613c931400ed38774097ec24 /elisp/geiser-company.el
parent803dfeb9414ed7b99c5d567170f32c97cafa1114 (diff)
downloadgeiser-2b45bd368b4acbcef53c3c761725241fb6846102.tar.gz
geiser-2b45bd368b4acbcef53c3c761725241fb6846102.tar.bz2
Use defvar-local
It is available since Emacs 24.3 and we already depend on Emacs 24.4.
Diffstat (limited to 'elisp/geiser-company.el')
-rw-r--r--elisp/geiser-company.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/elisp/geiser-company.el b/elisp/geiser-company.el
index a7595f1..1383584 100644
--- a/elisp/geiser-company.el
+++ b/elisp/geiser-company.el
@@ -23,14 +23,11 @@
;;; Helpers:
-(make-variable-buffer-local
- (defvar geiser-company--enabled-flag nil))
+(defvar-local geiser-company--enabled-flag nil)
-(make-variable-buffer-local
- (defvar geiser-company--autodoc-flag nil))
+(defvar-local geiser-company--autodoc-flag nil)
-(make-variable-buffer-local
- (defvar geiser-company--completions nil))
+(defvar-local geiser-company--completions nil)
(defun geiser-company--candidates (prefix)
(and (equal prefix (car geiser-company--completions))