make-variable-buffer-local -> make-local-variable
It is more correct to use the latter.
This commit is contained in:
parent
fa36014559
commit
746d90c330
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ MODES should be one major-mode symbol or a list of them."
|
|||
(lambda () (when (or (eq major-mode mode)
|
||||
(and (boundp mode) (symbol-value mode)))
|
||||
(require 'company)
|
||||
(make-variable-buffer-local 'company-backends)
|
||||
(make-local-variable 'company-backends)
|
||||
(dolist (backend backends)
|
||||
(cl-pushnew backend company-backends :test #'equal)))))
|
||||
(add-hook hook fn))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue