diff options
| author | Tino Calancha | 2017-07-02 22:09:02 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-07-02 22:09:02 +0900 |
| commit | a8b71b3dc53883a2dcb3339bf4c7e1232c42d276 (patch) | |
| tree | fd9972fc07854be2f6e26f10e4d51b94ffc5381e /etc | |
| parent | 80e200c0a08805771d1c709546d79088be188021 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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 | ||
| 487 | You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced | ||
| 488 | by 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 |