]> git.eshelyaron.com Git - emacs.git/commit
* lisp/dired.el (dired-get-marked-files): Add new optional arg 'error'.
authorJuri Linkov <juri@linkov.net>
Tue, 6 Feb 2018 21:32:08 +0000 (23:32 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 6 Feb 2018 21:32:08 +0000 (23:32 +0200)
commit03722339060c7654e839d586cd9facc69593ddce
treeaef39fbba459edd614326931894a5f755dfe3707
parent109237e23a01901e70c70c41166ebefc26b1b24f
* lisp/dired.el (dired-get-marked-files): Add new optional arg 'error'.

Call user-error when it's non-nil and result is empty (bug#30285).

* lisp/dired-aux.el (dired-do-chxxx, dired-do-chmod)
(dired-do-print, dired-do-async-shell-command)
(dired-do-shell-command, dired-do-compress-to)
(dired-mark-confirm, dired-do-create-files)
(dired-do-isearch, dired-do-isearch-regexp)
(dired-do-query-replace-regexp, dired-do-find-regexp):
* lisp/dired-x.el (dired-do-find-marked-files):
Set arg 'error' of dired-get-marked-files call to t.
lisp/dired-aux.el
lisp/dired-x.el
lisp/dired.el