branch: elpa/systemd commit a9f82b1f8bef7ff35efcf5a562570f0f0d496dfe Author: stardiviner <numbch...@gmail.com> Commit: Mark Oteiza <mvote...@udel.edu>
add systemd-mode company backend buffer locally --- systemd.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd.el b/systemd.el index 17a87b2..2b324ed 100644 --- a/systemd.el +++ b/systemd.el @@ -407,7 +407,7 @@ Key bindings: (set-keymap-parent systemd-mode-map nil) (conf-mode-initialize systemd-comment-start) (setq-local auto-fill-inhibit-regexp "^[ \t]*?[^;#]") - (add-hook 'company-backends #'systemd-company-backend) + (add-hook 'company-backends #'systemd-company-backend nil 'local) (add-hook 'completion-at-point-functions #'systemd-complete-at-point nil t) (add-hook 'font-lock-extend-region-functions 'systemd-font-lock-extend-region nil t)