]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence em-ls compilation
authorGlenn Morris <rgm@gnu.org>
Thu, 23 May 2013 07:55:52 +0000 (00:55 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 23 May 2013 07:55:52 +0000 (00:55 -0700)
* lisp/eshell/em-ls.el: Adjust requires.
(eshell-glob-regexp): Declare.

lisp/ChangeLog
lisp/eshell/em-ls.el

index ddd89f7cae9c4285d89870890b870633c6b944c8..44dd2c61b504efb437d8632d9625bf7cb0d7a469 100644 (file)
@@ -30,6 +30,8 @@
        * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
        (he-string-member, he-reset-string, he-substitute-string): Declare.
 
+       * eshell/em-ls.el: Adjust requires.
+       (eshell-glob-regexp): Declare.
        * eshell/em-tramp.el: Adjust requires.
        (eshell-parse-command): Autoload.
        * eshell/em-xtra.el: Adjust requires.
index e087861d7d9c7ad12eee18499b6ed24577c191d9..41db4cd03d1c6f9527bcc75accf53e0893c98651 100644 (file)
 
 ;;; Code:
 
-(eval-when-compile (require 'eshell))
 (require 'cl-lib)
 (require 'esh-util)
 (require 'esh-opt)
+(eval-when-compile (require 'eshell))
 
 ;;;###autoload
 (progn
@@ -334,6 +334,8 @@ instead."
 (defvar ange-cache)
 (defvar dired-flag)
 
+(declare-function eshell-glob-regexp "em-glob" (pattern))
+
 (defun eshell-do-ls (&rest args)
   "Implementation of \"ls\" in Lisp, passing ARGS."
   (funcall flush-func -1)