diff options
| -rw-r--r-- | lisp/dired.el | 4 | ||||
| -rw-r--r-- | lisp/eshell/em-ls.el | 3 | ||||
| -rw-r--r-- | lisp/eshell/esh-opt.el | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index fc0b71238ba..4c2c3f44e72 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1269,8 +1269,8 @@ If HDR is non-nil, insert a header line with the directory name." | |||
| 1269 | ;; as indicated by `ls-lisp-use-insert-directory-program'. | 1269 | ;; as indicated by `ls-lisp-use-insert-directory-program'. |
| 1270 | (not (and (featurep 'ls-lisp) | 1270 | (not (and (featurep 'ls-lisp) |
| 1271 | (null ls-lisp-use-insert-directory-program))) | 1271 | (null ls-lisp-use-insert-directory-program))) |
| 1272 | (not (and (featurep 'eshell) | 1272 | ;; FIXME: Big ugly hack for Eshell's eshell-ls-use-in-dired. |
| 1273 | (bound-and-true-p eshell-ls-use-in-dired))) | 1273 | (not (bound-and-true-p eshell-ls-use-in-dired)) |
| 1274 | (or (file-remote-p dir) | 1274 | (or (file-remote-p dir) |
| 1275 | (if (eq dired-use-ls-dired 'unspecified) | 1275 | (if (eq dired-use-ls-dired 'unspecified) |
| 1276 | ;; Check whether "ls --dired" gives exit code 0, and | 1276 | ;; Check whether "ls --dired" gives exit code 0, and |
diff --git a/lisp/eshell/em-ls.el b/lisp/eshell/em-ls.el index 5e4bbdc87ef..89969d32582 100644 --- a/lisp/eshell/em-ls.el +++ b/lisp/eshell/em-ls.el | |||
| @@ -29,7 +29,8 @@ | |||
| 29 | (require 'cl-lib) | 29 | (require 'cl-lib) |
| 30 | (require 'esh-util) | 30 | (require 'esh-util) |
| 31 | (require 'esh-opt) | 31 | (require 'esh-opt) |
| 32 | (eval-when-compile (require 'eshell)) | 32 | (require 'esh-proc) |
| 33 | (require 'esh-cmd) | ||
| 33 | 34 | ||
| 34 | ;;;###autoload | 35 | ;;;###autoload |
| 35 | (progn | 36 | (progn |
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index 5b2693283a7..3ea5873cafd 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el | |||
| @@ -33,6 +33,10 @@ | |||
| 33 | 33 | ||
| 34 | ;;; User Functions: | 34 | ;;; User Functions: |
| 35 | 35 | ||
| 36 | ;; Macro expansion of eshell-eval-using-options refers to eshell-stringify-list | ||
| 37 | ;; defined in esh-util. | ||
| 38 | (require 'esh-util) | ||
| 39 | |||
| 36 | (defmacro eshell-eval-using-options (name macro-args options &rest body-forms) | 40 | (defmacro eshell-eval-using-options (name macro-args options &rest body-forms) |
| 37 | "Process NAME's MACRO-ARGS using a set of command line OPTIONS. | 41 | "Process NAME's MACRO-ARGS using a set of command line OPTIONS. |
| 38 | After doing so, stores settings in local symbols as declared by OPTIONS; | 42 | After doing so, stores settings in local symbols as declared by OPTIONS; |