[emacs/message] lower idle delay for company in message-mode
authorAmin Bandali <bandali@gnu.org>
Sun, 9 Dec 2018 19:33:17 +0000 (14:33 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 9 Dec 2018 19:33:17 +0000 (14:33 -0500)
init.org

index d7c9aa6..c0cd733 100644 (file)
--- a/init.org
+++ b/init.org
@@ -2278,8 +2278,11 @@ For when I /have to/ use GH.
         message-user-fqdn "aminb.org")
   :hook (;; (message-setup . mml-secure-message-sign-pgpmime)
          (message-mode . flyspell-mode)
-         (message-mode . (lambda () (setq fill-column 65
-                                     message-fill-column 65))))
+         (message-mode . (lambda ()
+                           (setq fill-column 65
+                                 message-fill-column 65)
+                           (make-local-variable 'company-idle-delay)
+                           (setq company-idle-delay 0.2))))
   ;; :custom-face
   ;; (message-header-subject ((t (:foreground "#111" :weight semi-bold))))
   ;; (message-header-to      ((t (:foreground "#111" :weight normal))))