[emacs/eshell] fix company-idle-delay’s value
[~bandali/configs] / 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)