From f0f31787a679b468e222740954af49c66626b13c Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Tue, 8 Mar 2016 14:04:13 +0900 Subject: [PATCH 2/2] ; Add NEWS entry for last commit --- ChangeLog.2 | 8 ++++++++ etc/NEWS | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog.2 b/ChangeLog.2 index 6edc654..1ce9bee 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 @@ -1,3 +1,11 @@ +2016-03-08 Tino Calancha + + Dired operate on all kind of mark characters (Bug#22893). + * lisp/dired.el (dired-map-over-marks): Added optional arg 'all-marks'. + (dired-marker-regexp): Idem. + (dired-get-marked-files): Added two optional args, 'marker-char' + and 'all-marks'. + 2016-02-15 Glenn Morris * lisp/dired-aux.el: Require cl-lib. (Bug#22613) diff --git a/etc/NEWS b/etc/NEWS index cf09350..e385fab 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1471,6 +1471,17 @@ previous commands, `dired-do-search' and keys; rebind `A' and `Q' to invoke them if you want the old behavior back. We intend to obsolete the old commands in a future release. +--- +*** Dired operate on all kind of mark characters +`dired-map-over-marks': New optional arg `all-marks'. When non-nil, +operate over all marks, not just `dired-marker-char'. +`dired-marker-regexp': Added optional arg `all-marks'. +`dired-get-marked-files': Added optional args `marker-char' and `all-marks'. +If MARKER-CHAR non-nil, then return files marked with such character. +Otherwise return files marked with `dired-marker-char'. +If ALL-MARKS non-nil, return all marked files. Otherwise return just those +files marked with MARKER-CHAR. + ** Tabulated List Mode +++ -- 2.7.0