diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-01-21 10:32:00 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-21 10:32:00 +0100 |
commit | 587edc46dfc0aa035c49a5c97ff36472e2c4dbfd (patch) | |
tree | 6fbaf9ec3124706ea25aab0421bbe1c3393cfaa1 /lisp/doc-view.el | |
parent | a6ad584ac27dcc6bbe2476face53a3165f99366d (diff) | |
download | emacs-587edc46dfc0aa035c49a5c97ff36472e2c4dbfd.tar.gz emacs-587edc46dfc0aa035c49a5c97ff36472e2c4dbfd.tar.bz2 emacs-587edc46dfc0aa035c49a5c97ff36472e2c4dbfd.zip |
Further improve determination of when commands can be invoked directly
This covers the case when a subcommand is to be invoked in more places
than before, for example when a subcommand is concatenated in an
argument.
* lisp/eshell/esh-cmd.el (eshell--find-subcommands): New fuction.
(eshell--invoke-command-directly): Use 'eshell-find-subcommands'.
* test/lisp/eshell/eshell-tests.el
(eshell-test/interp-cmd-external-concat): New test (bug#30725).
Diffstat (limited to 'lisp/doc-view.el')
0 files changed, 0 insertions, 0 deletions