Eshell dependencies: Fix recent regressions

* lisp/dired.el (dired-insert-directory): Tweak bug#27817's ugly hack.

* lisp/eshell/em-ls.el: Refine 'require's.

* lisp/eshell/esh-opt.el: Require esh-util on behalf of its clients.
This commit is contained in:
Stefan Monnier 2019-04-10 10:11:50 -04:00
parent 526ffbad14
commit e3bd33fb1c
3 changed files with 8 additions and 3 deletions

View file

@ -29,7 +29,8 @@
(require 'cl-lib)
(require 'esh-util)
(require 'esh-opt)
(eval-when-compile (require 'eshell))
(require 'esh-proc)
(require 'esh-cmd)
;;;###autoload
(progn

View file

@ -33,6 +33,10 @@
;;; User Functions:
;; Macro expansion of eshell-eval-using-options refers to eshell-stringify-list
;; defined in esh-util.
(require 'esh-util)
(defmacro eshell-eval-using-options (name macro-args options &rest body-forms)
"Process NAME's MACRO-ARGS using a set of command line OPTIONS.
After doing so, stores settings in local symbols as declared by OPTIONS;