]> git.eshelyaron.com Git - emacs.git/commitdiff
* dired.el (dired-build-subdir-alist): Use string-match-p in previous change.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Jan 2012 00:10:56 +0000 (19:10 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Jan 2012 00:10:56 +0000 (19:10 -0500)
lisp/dired.el

index 733e522a9aab58820994ba9221f8e327c23caf25..57f67ca7c8c2fccf88009b4b422234678d64c20f 100644 (file)
@@ -2559,7 +2559,7 @@ instead of `dired-actual-switches'."
          ;; Undo any escaping of newlines and \ by dired-insert-directory.
          ;; Convert "n" preceded by odd number of \ to newline, and \\ to \.
          (when (and (dired-switches-escape-p switches)
-                    (string-match "\\\\" new-dir-name))
+                    (string-match-p "\\\\" new-dir-name))
            (let (temp res)
              (mapc (lambda (char)
                      (cond ((equal char ?\\)