diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-11-16 22:28:38 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-12-06 16:22:18 -0400 |
| commit | 9fadab4e63afcc2adf06eac964da8bc8e5c9cd47 (patch) | |
| tree | 41639297027c2e8fbeb0c84657a26824a5228a31 /emacs/coolj.el | |
| parent | dff7f06711dba1c2d6a84d3e76021da0bf606623 (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.el | 4 |
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." |
