1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 06:21:02 -08:00
emacs/doc
Jim Porter 598d7c5d1c 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.
2022-06-26 16:51:21 +02:00
..
emacs New command recentf-open 2022-06-25 12:55:18 +02:00
lispintro Change current-time back to list form 2022-04-28 12:54:06 -07:00
lispref Fix typo in signal-process-functions 2022-06-26 16:47:20 +02:00
man Merge from origin/emacs-28 2022-06-13 06:55:57 +02:00
misc Optionally signal an error if an Eshell predicate fails to match anything 2022-06-26 16:51:21 +02:00