dired-mark-suffix: New command
commit1da9a207669a3cf5d27ac1dd61543c1492e05360
authorTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:27:08 +0000 (31 17:27 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 31 Mar 2017 08:27:08 +0000 (31 17:27 +0900)
treed82a538a97595e3c118c535cdf7ee0a92f353ca6
parent3a11b3e330e88a42386ac3a635330ebd9c610827
dired-mark-suffix: New command

Now dired-mark-extension prepends '.' to extension when not present.
Add command dired-mark-suffix to preserve the previous
behaviour (Bug#25942).
* lisp/dired-x.el (dired-mark-suffix): New command;
mark files ending in a given suffix.
(dired--mark-suffix-interactive-spec): New defun.
(dired-mark-extension, dired-mark-suffix): Use it.
* doc/misc/dired-x.texi (Advanced Mark Commands): Update manual.
* test/lisp/dired-x-tests.el: New test suite; add test for these features.
; * etc/NEWS (Incompatible Lisp Changes in Emacs 26.1):
; Mention these changes.
doc/misc/dired-x.texi
etc/NEWS
lisp/dired-x.el
test/lisp/dired-x-tests.el [new file with mode: 0644]