diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-02-12 23:25:40 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-02-15 15:45:50 -0800 |
commit | 324a1d83c99f6641fa0460fe8c91fa9afad8a4eb (patch) | |
tree | a71dc060aee04c27415e7bc8e893d3ea53b23137 /lisp/eshell/eshell.el | |
parent | dc843e0a9b3ba3e29bc65bdbd1050cfcc96cad5d (diff) | |
download | emacs-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/eshell.el')
-rw-r--r-- | lisp/eshell/eshell.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index 7a7ece5cb7c..0bfc0413cbf 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el @@ -267,10 +267,7 @@ information on Eshell, see Info node `(eshell)Top'." (define-obsolete-function-alias 'eshell-return-exits-minibuffer #'eshell-command-mode "28.1") -(defvar eshell-non-interactive-p nil - "A variable which is non-nil when Eshell is not running interactively. -Modules should use this variable so that they don't clutter -non-interactive sessions, such as when using `eshell-command'.") +(defvar eshell-non-interactive-p) ; Defined in esh-mode.el. (declare-function eshell-add-input-to-history "em-hist" (input)) |