[emacs/eshell] fix company-idle-delay’s value
authorAmin Bandali <bandali@gnu.org>
Mon, 24 Dec 2018 00:24:41 +0000 (19:24 -0500)
committerAmin Bandali <bandali@gnu.org>
Mon, 24 Dec 2018 00:24:41 +0000 (19:24 -0500)
init.org

index 14941a2..049eaa8 100644 (file)
--- a/init.org
+++ b/init.org
@@ -947,7 +947,8 @@ There's no way I could top that, so I won't attempt to.
 
   (defun a/eshell-setup ()
     (make-local-variable 'company-idle-delay)
-    (defvar company-idle-delay nil)
+    (defvar company-idle-delay)
+    (setq company-idle-delay nil)
     (bind-keys :map eshell-mode-map
                ("C-d"   . a/eshell-quit-or-delete-char)
                ("C-S-l" . a/eshell-clear)