]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-company.el
emacs: use setq-local
[notmuch] / emacs / notmuch-company.el
index 9e7430295773faa7559894a898363be1ad7d814c..b50e73c8899bda57525bff9528920f17c479bc93 100644 (file)
@@ -55,8 +55,7 @@
 ;;;###autoload
 (defun notmuch-company-setup ()
   (company-mode)
-  (make-local-variable 'company-backends)
-  (setq company-backends '(notmuch-company))
+  (setq-local company-backends '(notmuch-company))
   ;; Disable automatic company completion unless an internal
   ;; completion method is configured. Company completion (using
   ;; internal completion) can still be accessed via standard company