summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-ls.el
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2017-07-30 20:28:33 +0900
committerTino Calancha <tino.calancha@gmail.com>2017-07-30 20:28:33 +0900
commitc8f44e4b53c40dfea1c83ad0ff3bd653e72c4f4e (patch)
tree684c170f5863a9cc63ddd54edd56050b8f11fdf5 /lisp/eshell/em-ls.el
parent6c106712a8d2ffd0c932541cb50cc59a6df732f4 (diff)
downloademacs-c8f44e4b53c40dfea1c83ad0ff3bd653e72c4f4e.tar.gz
ls-lisp: Do not require em-glob at top of the file
Require em-glob inside 'ls-lisp--dired'. This is necessary to not break the Emacs build. See following thread for details: https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01083.html * lisp/ls-lisp.el (dired-goto-next-file) (dired-read-dir-and-switches, eshell-extended-glob): Add function declarations. * lisp/eshell/em-ls.el (dired-goto-next-file): Fix function declaration.
Diffstat (limited to 'lisp/eshell/em-ls.el')
-rw-r--r--lisp/eshell/em-ls.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el
index 948ac38b5f2..4a5adc48f2b 100644
--- a/lisp/eshell/em-ls.el
+++ b/lisp/eshell/em-ls.el
@@ -283,7 +283,7 @@ instead."
(declare-function eshell-extended-glob "em-glob" (glob))
(declare-function dired-read-dir-and-switches "dired" (str))
-(declare-function dired-goto-next-file "em-glob" ())
+(declare-function dired-goto-next-file "dired" ())
(defun eshell-ls--dired (orig-fun dir-or-list &optional switches)
(interactive (dired-read-dir-and-switches ""))