aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index ca69ece98f4..39d4a899121 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1199,7 +1199,7 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on
1199 ;; some ls -b don't escape quotes, argh! 1199 ;; some ls -b don't escape quotes, argh!
1200 ;; This is not needed for GNU ls, though. 1200 ;; This is not needed for GNU ls, though.
1201 (or (dired-string-replace-match 1201 (or (dired-string-replace-match
1202 "\\([^\\]\\)\"" file "\\1\\\\\"") 1202 "\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t)
1203 file) 1203 file)
1204 "\""))))) 1204 "\"")))))
1205 (if (eq localp 'no-dir) 1205 (if (eq localp 'no-dir)