aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJim Porter2023-08-17 12:23:26 -0700
committerJim Porter2023-08-21 11:42:46 -0700
commitcf52cdb121b9419f169c501e7d8499aa418a0d5c (patch)
tree4c41447107dfd379dbeb1307046c0fb6803ac7f4 /java
parent82d8732505d267b5152320300b3ebd1a2727bead (diff)
downloademacs-cf52cdb121b9419f169c501e7d8499aa418a0d5c.tar.gz
emacs-cf52cdb121b9419f169c501e7d8499aa418a0d5c.zip
Allow splicing Eshell globs in-place
This means that Eshell globs can now expand the same way as if the user had typed each matching file individually. * lisp/eshell/em-glob.el (eshell-glob-splice-results): New option. (eshell-no-command-globbing, eshell-add-glob-modifier): Handle spliced globs. (eshell-extended-glob): Always return a list when splicing. * lisp/eshell/em-pred.el (eshell-parse-arg-modifier): Ensure 'eshell-splice-args' is always at the end of the list of modifiers if present. * test/lisp/eshell/em-glob-tests.el (em-glob-test/expand/splice-results) (em-glob-test/expand/no-splice-results) (em-glob-test/expand/explicitly-splice-results) (em-glob-test/expand/explicitly-listify-results): New tests. (em-glob-test/no-matches): Check result when 'eshell-glob-splice-results' is nil/non-nil. * doc/misc/eshell.texi (Arguments): Expand explanation about argument flattening. (Globbing): Document splicing behavior of globs. * etc/NEWS: Announce this change.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions