aboutsummaryrefslogtreecommitdiff
path: root/emacs/notmuch-company.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/notmuch-company.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/notmuch-company.el')
-rw-r--r--emacs/notmuch-company.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el
index 9ee8ceca..9e743029 100644
--- a/emacs/notmuch-company.el
+++ b/emacs/notmuch-company.el
@@ -36,8 +36,8 @@
(require 'notmuch-lib)
-(defvar notmuch-company-last-prefix nil)
-(make-variable-buffer-local 'notmuch-company-last-prefix)
+(defvar-local notmuch-company-last-prefix nil)
+
(declare-function company-begin-backend "company")
(declare-function company-grab "company")
(declare-function company-mode "company")