Subject: dired-marker-regexp use dired-re-mark

From: Tino Calancha <[email-masked]>
Date: Tue, 22 Mar 2016 18:31:40 +0900 (JST)

I just realized dired define the variable
'dired-re-mark' to match any mark.
Using it in `dired-marker-regexp'.
From cf1bb8e9bcc57aa68315413e36b8cbfbbb9ac617 Mon Sep 17 00:00:00 2001
From: Tino Calancha <[email-masked]>
Date: Tue, 22 Mar 2016 18:18:54 +0900
Subject: [PATCH 3/3] 'dired-marker-regexp' use 'dired-re-mark'

* lisp/dired.el (dired-marker-regexp):
Return 'dired-re-mark' if ALL-MARKS non-nil (Bug#22893).
---
 lisp/dired.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired.el b/lisp/dired.el
index 618feb2..c8a712d 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3053,7 +3053,7 @@ dired-marker-regexp
 If optional argument ALL-MARKS evaluates to non-nil, then the regexp
 matches any mark character."
   (if all-marks
-      "^[^\t ]"
+      dired-re-mark
     (concat "^" (regexp-quote (char-to-string (or marker-char
                                                   dired-marker-char))))))
 
-- 
2.7.0