X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-company.el;h=4439cc15edbd7b426b465dbeb8bd30c20766c58f;hb=0067a43ea2ee554eafed1e1300a71259cd6b6a6d;hp=9e7430295773faa7559894a898363be1ad7d814c;hpb=9fadab4e63afcc2adf06eac964da8bc8e5c9cd47;p=notmuch diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el index 9e743029..4439cc15 100644 --- a/emacs/notmuch-company.el +++ b/emacs/notmuch-company.el @@ -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 @@ -103,7 +102,6 @@ (run-hook-with-args 'notmuch-address-post-completion-functions arg)) (no-cache t)))) - (provide 'notmuch-company) ;;; notmuch-company.el ends here