* lisp/eshell/esh-ext.el (eshell-search-path): Declare.
authorGlenn Morris <rgm@gnu.org>
Fri, 13 Sep 2013 07:10:30 +0000 (00:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 13 Sep 2013 07:10:30 +0000 (00:10 -0700)
lisp/ChangeLog
lisp/eshell/esh-ext.el

index 74f7918..53153b2 100644 (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.
 
index 8b312a2..e2cca35 100644 (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\\)"