aboutsummaryrefslogtreecommitdiff
path: root/emacs/coolj.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-11-16 22:28:38 +0100
committerDavid Bremner <david@tethera.net>2020-12-06 16:22:18 -0400
commit9fadab4e63afcc2adf06eac964da8bc8e5c9cd47 (patch)
tree41639297027c2e8fbeb0c84657a26824a5228a31 /emacs/coolj.el
parentdff7f06711dba1c2d6a84d3e76021da0bf606623 (diff)
emacs: use defvar-local
It is available since Emacs 24.3 and we require at least Emacs 25.
Diffstat (limited to 'emacs/coolj.el')
-rw-r--r--emacs/coolj.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/emacs/coolj.el b/emacs/coolj.el
index 39a8de2b..0385872f 100644
--- a/emacs/coolj.el
+++ b/emacs/coolj.el
@@ -50,9 +50,7 @@ Otherwise respect `fill-column'."
:group 'coolj
:type 'regexp)
-(defvar coolj-wrap-point nil)
-
-(make-variable-buffer-local 'coolj-wrap-point)
+(defvar-local coolj-wrap-point nil)
(defun coolj-determine-prefix ()
"Determine the prefix for the current line."