[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/systemd 921f8d0 074/131: nix systemd-use-company-p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/systemd 921f8d0 074/131: nix systemd-use-company-p |
Date: |
Sun, 29 Aug 2021 11:35:17 -0400 (EDT) |
branch: elpa/systemd
commit 921f8d0df8d5ea13946522337f75e67bdc16b21c
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@udel.edu>
nix systemd-use-company-p
---
systemd.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/systemd.el b/systemd.el
index 34ccedb..40f71ec 100644
--- a/systemd.el
+++ b/systemd.el
@@ -70,9 +70,10 @@
(function :tag "Other function"))
:group 'systemd)
-(defcustom systemd-use-company-p nil
- "Whether to use `company-mode' for completion, if available."
- :type 'boolean
+(defcustom systemd-mode-hook nil
+ "Hook run after entering `systemd-mode'."
+ :type 'hook
+ :options '(company-mode)
:group 'systemd)
(defconst systemd-unit-sections
@@ -380,8 +381,6 @@ Key bindings:
\\{systemd-mode-map}"
(set-keymap-parent systemd-mode-map nil)
(conf-mode-initialize systemd-comment-start)
- (if (and systemd-use-company-p (fboundp 'company-mode))
- (company-mode 1))
(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)))
- [nongnu] elpa/systemd c8d3472 012/131: add commentary, (continued)
- [nongnu] elpa/systemd c8d3472 012/131: add commentary, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd ac11adf 025/131: add tunable for using either `man` or `woman`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd d7a9c1d 045/131: fontify "-" and "@" prefixes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd d03b70c 043/131: derive from conf-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 6f2e31e 048/131: add a mode menu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 1a7af12 051/131: no strings with single quotes either, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 26de1dd 056/131: don't turn on company by default, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd cd22a2c 065/131: use a-zA-Z0-9, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd bd1b86e 072/131: woops!, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd f74f3c8 075/131: add to buffer-local hooks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 921f8d0 074/131: nix systemd-use-company-p,
ELPA Syncer <=
- [nongnu] elpa/systemd a73c16a 085/131: nix LOCAL argument for adding to company-backends, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd bf7b281 088/131: nix unneeded arg, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd b561c6b 093/131: happy new year, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 47ae79a 112/131: Use syntax-propertize and font-lock-extend-region-functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 22f024f 118/131: systemd 235, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd c6e06df 123/131: happy new year, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 5b68986 024/131: add C-c C-d for opening systemd.directives(7), ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 09bfb67 030/131: explicitly require cl-lib, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 077b294 036/131: no change in systemd 220, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd f69d903 040/131: add missing network directives, ELPA Syncer, 2021/08/29