diff options
| author | Glenn Morris | 2012-01-17 19:08:05 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-01-17 19:08:05 -0500 |
| commit | 01153e4496db5be3e9041245ca8a5483bf0b328c (patch) | |
| tree | 19ebacdc2fe301e6365c1004fe7a19a48be14e5e | |
| parent | 0e6038be96b1641a32620b0f29a5a898a1c4cb31 (diff) | |
| download | emacs-01153e4496db5be3e9041245ca8a5483bf0b328c.tar.gz emacs-01153e4496db5be3e9041245ca8a5483bf0b328c.zip | |
* lisp/dired.el (dired-build-subdir-alist): Restrict previous change.
(to only file names containing "\"s)
| -rw-r--r-- | lisp/dired.el | 3 |
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 ?\\) |