From 2ada368ae92ff7b39e3beef407351fdfd31ae87b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 13 Sep 2013 00:10:30 -0700 Subject: * lisp/eshell/esh-ext.el (eshell-search-path): Declare. --- lisp/eshell/esh-ext.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lisp/eshell') 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\\)" -- cgit v1.2.1