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)