]> git.eshelyaron.com Git - emacs.git/commit
; Don't require 'eshell' in other Eshell files
authorJim Porter <jporterbugs@gmail.com>
Mon, 13 Feb 2023 07:25:40 +0000 (23:25 -0800)
committerJim Porter <jporterbugs@gmail.com>
Wed, 15 Feb 2023 23:45:50 +0000 (15:45 -0800)
commit324a1d83c99f6641fa0460fe8c91fa9afad8a4eb
treea71dc060aee04c27415e7bc8e893d3ea53b23137
parentdc843e0a9b3ba3e29bc65bdbd1050cfcc96cad5d
; 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.
13 files changed:
lisp/eshell/em-banner.el
lisp/eshell/em-basic.el
lisp/eshell/em-cmpl.el
lisp/eshell/em-glob.el
lisp/eshell/em-hist.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
lisp/eshell/esh-mode.el
lisp/eshell/eshell.el