From cb9fe72787b6d7bf401be3145a9a4730bca1cd78 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 05:20:32 +0200 Subject: emacs: Limit ‘company’ to ‘conf- and prog-mode’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 0128e2b..4035919 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -753,11 +753,10 @@ autocompleting code but has other uses too I guess. #+BEGIN_SRC elisp (use-package company + :hook ((conf-mode prog-mode) . company-mode) :custom (company-minimum-prefix-length 1) - (company-idle-delay 0.0) - :init - (global-company-mode)) + (company-idle-delay 0.0)) #+END_SRC -- cgit v1.2.3