From 9cc73b30c269cbfa35feed46ee8805ee5a4d2ef0 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 24 Jun 2023 12:17:03 +1000 Subject: company works better with bbdb in message mode --- emacs/.emacs.d/init/ycp-complete.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index 57e5667..a27e980 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -156,11 +156,12 @@ (setq corfu-exclude-modes '(gud-mode)) ) -;;; We still need company mode because corfu does not work well in gud -;;; mode yet +;;; We still need company mode because corfu does not work well in +;;; certain modes yet (my-package company (:install t) - (:delay 5)) + (:delay 5) + (add-hook 'message-mode-hook #'company-mode)) ;;; cape (my-package cape -- cgit v1.2.3