emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/systemd a9f82b1 124/131: add systemd-mode company backend


From: ELPA Syncer
Subject: [nongnu] elpa/systemd a9f82b1 124/131: add systemd-mode company backend buffer locally
Date: Sun, 29 Aug 2021 11:35:27 -0400 (EDT)

branch: elpa/systemd
commit a9f82b1f8bef7ff35efcf5a562570f0f0d496dfe
Author: stardiviner <numbchild@gmail.com>
Commit: Mark Oteiza <mvoteiza@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]