summaryrefslogtreecommitdiffstats
path: root/lisp/bandali-eshell.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-04-16 18:10:10 -0400
committerAmin Bandali <bandali@gnu.org>2020-04-16 18:10:10 -0400
commit3d7cc479c6dcc9550b9f03176272f5a9c4655b4c (patch)
tree897afc15a9a320f1da83fa3579dce19e9c0ce3ad /lisp/bandali-eshell.el
parent46b0569f717f7e5fa9cc43355bd5d8a544521453 (diff)
downloadconfigs-3d7cc479c6dcc9550b9f03176272f5a9c4655b4c.tar.gz
configs-3d7cc479c6dcc9550b9f03176272f5a9c4655b4c.tar.xz
configs-3d7cc479c6dcc9550b9f03176272f5a9c4655b4c.zip
Address a few more byte-compiler warnings
Diffstat (limited to '')
-rw-r--r--lisp/bandali-eshell.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/bandali-eshell.el b/lisp/bandali-eshell.el
index f92f930..099cbb3 100644
--- a/lisp/bandali-eshell.el
+++ b/lisp/bandali-eshell.el
@@ -28,7 +28,11 @@
:commands eshell
:bind ("C-c a s e" . eshell)
:config
- (eval-when-compile (defvar eshell-prompt-regexp))
+ (eval-when-compile
+ (defvar eshell-prompt-regexp)
+ (declare-function eshell-life-is-too-much "esh-mode")
+ (declare-function eshell-send-input "esh-mode"
+ (&optional use-region queue-p no-newline)))
(defun b/eshell-quit-or-delete-char (arg)
(interactive "p")
(if (and (eolp) (looking-back eshell-prompt-regexp nil))
@@ -44,6 +48,9 @@
(defun b/eshell-setup ()
(make-local-variable 'company-idle-delay)
(defvar company-idle-delay)
+ (eval-when-compile
+ (defvar eshell-mode-map)
+ (defvar eshell-hist-mode-map))
(setq company-idle-delay nil)
(bind-keys :map eshell-mode-map
("C-d" . b/eshell-quit-or-delete-char)