diff options
author | Jim Porter <jporterbugs@gmail.com> | 2022-06-25 20:05:57 -0700 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-26 16:51:21 +0200 |
commit | 598d7c5d1c10bfb161cb53aa76d480864414487c (patch) | |
tree | 42d650e0476b281145c650dbe095e8e651b60a18 /test/lisp/yank-media-tests.el | |
parent | b637d9c0750fde8810058a153d964b6c70e0f577 (diff) | |
download | emacs-598d7c5d1c10bfb161cb53aa76d480864414487c.tar.gz emacs-598d7c5d1c10bfb161cb53aa76d480864414487c.tar.bz2 emacs-598d7c5d1c10bfb161cb53aa76d480864414487c.zip |
Optionally signal an error if an Eshell predicate fails to match anything
* lisp/eshell/em-pred.el (eshell-error-if-no-glob): Declare it.
(eshell-apply-modifiers): Add STRING-DESC argument and signal an error
if there are no matches and 'eshell-error-if-no-glob' is set.
(eshell-parse-arg-modifier): Pass modifier string to
'eshell-apply-modifiers'.
* test/lisp/eshell/em-pred-tests.el (eshell-eval-predicate): Simplify.
(em-pred-test/no-matches): New test.
* doc/misc/eshell.texi (Bugs and ideas): Remove todo entry about this
change.
Diffstat (limited to 'test/lisp/yank-media-tests.el')
0 files changed, 0 insertions, 0 deletions