aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 12a97f8457e..e4547758587 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -738,7 +738,7 @@ can be produced by `dired-get-marked-files', for example."
738 ;; Drop all ? and * surrounded by spaces and `?`. 738 ;; Drop all ? and * surrounded by spaces and `?`.
739 (while (and (string-match regexp res) 739 (while (and (string-match regexp res)
740 (dired--star-or-qmark-p res str)) 740 (dired--star-or-qmark-p res str))
741 (setq res (replace-match "" t t res 0))) 741 (setq res (replace-match "" t t res 2)))
742 (string-match regexp res)))) 742 (string-match regexp res))))
743 (let* ((on-each (not (dired--star-or-qmark-p command "*" 'keep))) 743 (let* ((on-each (not (dired--star-or-qmark-p command "*" 'keep)))
744 (no-subst (not (dired--star-or-qmark-p command "?" 'keep))) 744 (no-subst (not (dired--star-or-qmark-p command "?" 'keep)))