X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch-company.el;h=b50e73c8899bda57525bff9528920f17c479bc93;hp=9e7430295773faa7559894a898363be1ad7d814c;hb=b4ee80dcbdd6702a693110321ad69c380967846d;hpb=9fadab4e63afcc2adf06eac964da8bc8e5c9cd47 diff --git a/emacs/notmuch-company.el b/emacs/notmuch-company.el index 9e743029..b50e73c8 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