1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
emacs/test/lisp/eshell
Jim Porter 8051be9ac2 Allow unloading Eshell
* lisp/eshell/em-extpipe.el (eshell-extpipe):
* lisp/eshell/esh-opt.el (eshell-opt): New groups.  Eshell uses these
to identify modules to unload.

* lisp/eshell/em-hist.el (eshell-hist-unload-hook):
* lisp/eshell/em-ls.el (eshell-ls-unload-hook):
* lisp/eshell/em-smart.el (eshell-smart-unload-hook):
* lisp/eshell/eshell.el (eshell-unload-hook): Make obsolete and move
to...

* lisp/eshell/em-smart.el (em-smart-unload-function):
* lisp/eshell/em-hist.el (em-hist-unload-function):
* lisp/eshell/em-ls.el (em-ls-unload-function):
* lisp/eshell/eshell.el (eshell-unload-function): ... these.

* lisp/eshell/esh-mode.el (eshell-mode-unload-hook):
* lisp/eshell/esh-module.el (eshell-module-unload-hook): Make
obsolete.

* lisp/eshell/em-ls (eshell-ls-enable-in-dired,
eshell-ls-disable-in-dired): New functions...
(eshell-ls-use-in-dired): ... use them.

* lisp/eshell/esh-module.el (eshell-module--feature-name,
eshell-unload-modules): New functions.
(eshell-unload-extension-modules): Use 'eshell-unload-modules'.

* lisp/eshell/eshell.el (eshell-unload-all-modules): Remove.

* test/lisp/eshell/eshell-tests-unload.el: New file.

* doc/misc/eshell.texi (Bugs and ideas): Remove item about unloading
Eshell not working.

* etc/NEWS: Announce this change (bug#61501).
2023-02-15 17:31:52 -08:00
..
em-alias-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-cmpl-tests.el During completion, convert all Eshell arguments to strings 2023-01-30 17:49:11 -08:00
em-dirs-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-extpipe-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-glob-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-prompt-tests.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
em-script-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-tramp-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-arg-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-cmd-tests.el Ensure that deferred commands don't make Eshell forget let-bound values 2023-02-09 21:38:07 -08:00
esh-ext-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io-tests.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el Don't try to make a pipe process for remote processes in Eshell 2023-01-23 09:48:09 -08:00
esh-util-tests.el Make 'eshell-number-regexp' into a regular defvar 2023-01-27 18:03:10 -08:00
esh-var-tests.el Add support for negative indices and index ranges in Eshell 2023-01-27 18:03:10 -08:00
eshell-tests-helpers.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
eshell-tests-unload.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
eshell-tests.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00