summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2022-01-20 14:37:54 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-20 14:37:54 +0100
commit4450c8bdd93d1b2e7f276e26be2cc37372034c22 (patch)
treee45604026d24ea26a1bb7ec342cc6d72edbce505 /lisp/emacs-lisp/debug.el
parent55c1670bc52c924d80c72e55bf3864023749be29 (diff)
downloademacs-4450c8bdd93d1b2e7f276e26be2cc37372034c22.tar.gz
emacs-4450c8bdd93d1b2e7f276e26be2cc37372034c22.tar.bz2
emacs-4450c8bdd93d1b2e7f276e26be2cc37372034c22.zip
Consider subcommands when deciding to invoke Eshell command directly
When an Eshell command contains an asynchronous subcommand (such as calling an external process), it must be evaluated iteratively. See bug#30725. * lisp/eshell/esh-cmd.el (eshell-invoke-command): Move most of the logic from here... (eshell--invoke-command-directly): ... to here. Also add checks for subcommands. * test/lisp/eshell/eshell-tests.el (eshell-test--max-subprocess-time): New variable. (eshell-wait-for-subprocess): New function. (eshell-command-result-p): Use 'eshell-wait-for-subprocess'. (eshell-test/interp-cmd-external): New test (bug#30725).
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions