* lisp/eshell/esh-ext.el (eshell-search-path): Declare.

This commit is contained in:
Glenn Morris 2013-09-13 00:10:30 -07:00
parent fcef2e1396
commit 2ada368ae9
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2013-09-13 Glenn Morris <rgm@gnu.org>
* eshell/esh-ext.el (eshell-search-path): Declare.
* eshell/em-prompt.el (eshell/pwd): Autoload it.
Otherwise an error occurs if eshell-dirs module not loaded.

View file

@ -92,6 +92,10 @@ since nothing else but Eshell will be able to understand
(setq list (cdr list)))
file)))
;; This file provides itself then eval-when-compile loads files that require it.
;; This causes spurious "might not be defined at runtime" warnings.
(declare-function eshell-search-path "esh-ext" (name))
(defcustom eshell-windows-shell-file
(if (eshell-under-windows-p)
(if (string-match "\\(cmdproxy\\|sh\\)\\.\\(com\\|exe\\)"