]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-company.el
emacs: use defvar-local
[notmuch] / emacs / notmuch-company.el
index 9ee8ceca2922076ce3e459f098939c0e3025c289..9e7430295773faa7559894a898363be1ad7d814c 100644 (file)
@@ -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")