summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-xtra.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2023-02-12 23:25:40 -0800
committerJim Porter <jporterbugs@gmail.com>2023-02-15 15:45:50 -0800
commit324a1d83c99f6641fa0460fe8c91fa9afad8a4eb (patch)
treea71dc060aee04c27415e7bc8e893d3ea53b23137 /lisp/eshell/em-xtra.el
parentdc843e0a9b3ba3e29bc65bdbd1050cfcc96cad5d (diff)
downloademacs-324a1d83c99f6641fa0460fe8c91fa9afad8a4eb.tar.gz
; Don't require 'eshell' in other Eshell files
This isn't necessary and just makes unloading Eshell harder. * lisp/eshell/em-banner.el: * lisp/eshell/em-basic.el: * lisp/eshell/em-cmpl.el: * lisp/eshell/em-glob.el: * lisp/eshell/em-prompt.el: * lisp/eshell/em-rebind.el: * lisp/eshell/em-smart.el: * lisp/eshell/em-term.el: * lisp/eshell/em-tramp.el: * lisp/eshell/em-xtra.el: Stop requiring 'eshell', and instead require specific subcomponents. * lisp/eshell/em-hist.el: Stop requiring 'eshell' and 'em-pred' (extension modules shouldn't require each other so they can be independent). (eshell-hist-parse-modifier): Ensure this can only be called when 'em-pred' is in use, and declare the relevant function. * lisp/eshell/eshell.el (eshell-non-interactive-p): Move from here... * lisp/eshell/esh-mode.el (eshell-non-interactive-p): ... to here.
Diffstat (limited to 'lisp/eshell/em-xtra.el')
-rw-r--r--lisp/eshell/em-xtra.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/em-xtra.el b/lisp/eshell/em-xtra.el
index defaa7b2887..45c3ea3c0fc 100644
--- a/lisp/eshell/em-xtra.el
+++ b/lisp/eshell/em-xtra.el
@@ -25,8 +25,6 @@
(require 'cl-lib)
(require 'esh-util)
-(eval-when-compile
- (require 'eshell))
;; There are no items in this custom group, but eshell modules (ab)use
;; custom groups.