diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2017-07-02 22:09:02 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2017-07-02 22:09:02 +0900 |
commit | a8b71b3dc53883a2dcb3339bf4c7e1232c42d276 (patch) | |
tree | fd9972fc07854be2f6e26f10e4d51b94ffc5381e /test/lisp/emacs-lisp/regexp-opt-tests.el | |
parent | 80e200c0a08805771d1c709546d79088be188021 (diff) | |
download | emacs-a8b71b3dc53883a2dcb3339bf4c7e1232c42d276.tar.gz emacs-a8b71b3dc53883a2dcb3339bf4c7e1232c42d276.tar.bz2 emacs-a8b71b3dc53883a2dcb3339bf4c7e1232c42d276.zip |
Extend dired-do-shell-command substitutions
Substitute "`?`" inside command with the current file name.
See details in:
https://lists.gnu.org/archive/html/emacs-devel/2017-06/msg00618.html
* lisp/dired-aux.el (dired-quark-subst-regexp, dired-star-subst-regexp):
Mark as obsolete.
(dired-isolated-string-re): New defun.
(dired--star-or-qmark-p): New predicate.
(dired-do-shell-command): Use dired--star-or-qmark-p. Substitute "`?`"
with the current file name.
* doc/emacs/dired.texi (Shell Commands in Dired): Update manual.
; * etc/NEWS: Mention it.
Diffstat (limited to 'test/lisp/emacs-lisp/regexp-opt-tests.el')
0 files changed, 0 insertions, 0 deletions