branch: elpa/systemd
commit f74f3c8520f7fc41654bcc61f02e17d374d081e6
Author: Mark Oteiza <mvote...@udel.edu>
Commit: Mark Oteiza <mvote...@udel.edu>

    add to buffer-local hooks
---
 systemd.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/systemd.el b/systemd.el
index 40f71ec..8f23668 100644
--- a/systemd.el
+++ b/systemd.el
@@ -381,9 +381,9 @@ Key bindings:
 \\{systemd-mode-map}"
   (set-keymap-parent systemd-mode-map nil)
   (conf-mode-initialize systemd-comment-start)
-  (add-hook 'company-backends #'systemd-company-backend)
-  (add-hook 'completion-at-point-functions #'systemd-complete-at-point)
-  (setq-local font-lock-defaults '(systemd-font-lock-keywords)))
+  (add-hook 'company-backends #'systemd-company-backend nil t)
+  (add-hook 'completion-at-point-functions #'systemd-complete-at-point nil t)
+  (setq font-lock-defaults '(systemd-font-lock-keywords)))
 
 (provide 'systemd)
 

Reply via email to