emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106884: * lisp/dired.el (dired-build


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106884: * lisp/dired.el (dired-build-subdir-alist): Restrict previous change.
Date: Tue, 17 Jan 2012 19:08:05 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106884
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2012-01-17 19:08:05 -0500
message:
  * lisp/dired.el (dired-build-subdir-alist): Restrict previous change.
  (to only file names containing "\"s)
modified:
  lisp/dired.el
=== modified file 'lisp/dired.el'
--- a/lisp/dired.el     2012-01-17 22:27:46 +0000
+++ b/lisp/dired.el     2012-01-18 00:08:05 +0000
@@ -2558,7 +2558,8 @@
          (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 ?\\)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]