1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 02:50:26 -08:00
emacs/lisp/eshell
Jim Porter 1565dbcae3 Simplify usage of 'while' forms in Eshell's iterative evaluation
Now, 'eshell-do-eval' rewrites 'while' forms to let-bind variables for
the command and test bodies.  This means that external code, such as
command rewriting hooks, no longer has to worry about this, making it
easier to pass "normal" Lisp forms to 'eshell-do-eval' (bug#61954).

* lisp/eshell/esh-cmd.el (eshell-command-body, eshell-test-body): No
longer used outside of 'eshell-do-eval', so rename to...
(eshell--command-body, eshell--test-body): ... these.
(Command evaluation macros): Remove obsolete description about 'if'
and 'while' forms.
(eshell-rewrite-for-command, eshell-structure-basic-command): Remove
'eshell-command-body' and 'eshell-test-body'.
(eshell-do-eval): Reimplement handling of 'while' forms.
2023-03-16 22:17:02 -07:00
..
em-alias.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-banner.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-basic.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-cmpl.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
em-dirs.el ; Return t or nil for 'test-completion' of Eshell user references 2023-02-23 15:13:38 -08:00
em-elecslash.el Make 'eshell-bol' obsolete 2023-01-14 11:09:02 -08:00
em-extpipe.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-glob.el ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
em-hist.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-ls.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-pred.el ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
em-prompt.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-rebind.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-script.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-smart.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
em-term.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-tramp.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
em-unix.el Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
em-xtra.el ; Don't require 'eshell' in other Eshell files 2023-02-15 15:45:50 -08:00
esh-arg.el Add support for completing special references (e.g. buffers) in Eshell 2023-03-11 18:49:28 -08:00
esh-cmd.el Simplify usage of 'while' forms in Eshell's iterative evaluation 2023-03-16 22:17:02 -07:00
esh-ext.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io.el Set the 'field' property for Eshell output 2023-01-14 11:09:02 -08:00
esh-mode.el ; Throw strings as the values for 'eshell-incomplete' 2023-02-23 14:09:36 -08:00
esh-module.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-opt.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00
esh-proc.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
esh-util.el Ensure that Eshell users can run lines of command output as input 2023-02-09 22:32:51 -08:00
esh-var.el Be more cautious in completing Eshell variable assignments 2023-02-25 20:38:55 -08:00
eshell.el Allow unloading Eshell 2023-02-15 17:31:52 -08:00