summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-ext.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-13 00:10:30 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-13 00:10:30 -0700
commit2ada368ae92ff7b39e3beef407351fdfd31ae87b (patch)
tree43f39a4d3da6db1f4789dcb47916fdcf40aa564e /lisp/eshell/esh-ext.el
parentfcef2e13960af4f30ced7571771f581091d18c17 (diff)
downloademacs-2ada368ae92ff7b39e3beef407351fdfd31ae87b.tar.gz
* lisp/eshell/esh-ext.el (eshell-search-path): Declare.
Diffstat (limited to 'lisp/eshell/esh-ext.el')
-rw-r--r--lisp/eshell/esh-ext.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el
index 8b312a2c25c..e2cca35a267 100644
--- a/lisp/eshell/esh-ext.el
+++ b/lisp/eshell/esh-ext.el
@@ -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\\)"