* lisp/dired.el (dired-build-subdir-alist): Restrict previous change.

(to only file names containing "\"s)
This commit is contained in:
Glenn Morris 2012-01-17 19:08:05 -05:00
parent 0e6038be96
commit 01153e4496

View file

@ -2558,7 +2558,8 @@ instead of `dired-actual-switches'."
(setq count (1+ count))
;; Undo any escaping of newlines and \ by dired-insert-directory.
;; Convert "n" preceded by odd number of \ to newline, and \\ to \.
(when (dired-switches-escape-p switches)
(when (and (dired-switches-escape-p switches)
(string-match "\\\\" new-dir-name))
(let (temp res)
(mapc (lambda (char)
(cond ((equal char ?\\)