aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-24 12:17:03 +1000
committerYuchen Pei <id@ypei.org>2023-06-24 12:17:03 +1000
commit9cc73b30c269cbfa35feed46ee8805ee5a4d2ef0 (patch)
tree3405bb707714894e0daea447e12c76e17305d5cd /emacs/.emacs.d/init
parent251c8c4d50e52405f33cfbb5a3f509376052038b (diff)
company works better with bbdb in message mode
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r--emacs/.emacs.d/init/ycp-complete.el7
1 files changed, 4 insertions, 3 deletions
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