aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/dired.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 34fb651db10..733e522a9aa 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2558,7 +2558,8 @@ instead of `dired-actual-switches'."
2558 (setq count (1+ count)) 2558 (setq count (1+ count))
2559 ;; Undo any escaping of newlines and \ by dired-insert-directory. 2559 ;; Undo any escaping of newlines and \ by dired-insert-directory.
2560 ;; Convert "n" preceded by odd number of \ to newline, and \\ to \. 2560 ;; Convert "n" preceded by odd number of \ to newline, and \\ to \.
2561 (when (dired-switches-escape-p switches) 2561 (when (and (dired-switches-escape-p switches)
2562 (string-match "\\\\" new-dir-name))
2562 (let (temp res) 2563 (let (temp res)
2563 (mapc (lambda (char) 2564 (mapc (lambda (char)
2564 (cond ((equal char ?\\) 2565 (cond ((equal char ?\\)