diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2021-04-21 20:54:12 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2021-04-21 21:38:40 +0200 |
commit | 2b45bd368b4acbcef53c3c761725241fb6846102 (patch) | |
tree | 21ea02e33460bc06613c931400ed38774097ec24 /elisp/geiser-mode.el | |
parent | 803dfeb9414ed7b99c5d567170f32c97cafa1114 (diff) | |
download | geiser-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-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 61a9813..4a524fd 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -340,9 +340,8 @@ With prefix, try to enter the current buffer's module." ;;; Geiser mode: -(make-variable-buffer-local - (defvar geiser-mode-string nil - "Modeline indicator for geiser-mode")) +(defvar-local geiser-mode-string nil + "Modeline indicator for geiser-mode") (defun geiser-mode--lighter () (or geiser-mode-string |