aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2017-07-02 22:09:02 +0900
committerTino Calancha2017-07-02 22:09:02 +0900
commita8b71b3dc53883a2dcb3339bf4c7e1232c42d276 (patch)
treefd9972fc07854be2f6e26f10e4d51b94ffc5381e /etc
parent80e200c0a08805771d1c709546d79088be188021 (diff)
downloademacs-a8b71b3dc53883a2dcb3339bf4c7e1232c42d276.tar.gz
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 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0ba48f38aed..b9a492cb5ce 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -483,6 +483,10 @@ properties as intact as possible.
483 483
484* Changes in Specialized Modes and Packages in Emacs 26.1 484* Changes in Specialized Modes and Packages in Emacs 26.1
485 485
486** Dired
487You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced
488by the current file name.
489
486*** html2text is now marked obsolete. 490*** html2text is now marked obsolete.
487 491
488*** smerge-refine-regions can refine regions in separate buffers 492*** smerge-refine-regions can refine regions in separate buffers