aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-01-17 19:10:56 -0500
committerGlenn Morris2012-01-17 19:10:56 -0500
commit9ff5d5a5d1c6a9449558bc5625ae2d3a287860c4 (patch)
tree334916040eb4f099ee14c282182e570ff55390df
parent01153e4496db5be3e9041245ca8a5483bf0b328c (diff)
downloademacs-9ff5d5a5d1c6a9449558bc5625ae2d3a287860c4.tar.gz
emacs-9ff5d5a5d1c6a9449558bc5625ae2d3a287860c4.zip
* dired.el (dired-build-subdir-alist): Use string-match-p in previous change.
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 733e522a9aa..57f67ca7c8c 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2559,7 +2559,7 @@ instead of `dired-actual-switches'."
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 (and (dired-switches-escape-p switches) 2561 (when (and (dired-switches-escape-p switches)
2562 (string-match "\\\\" new-dir-name)) 2562 (string-match-p "\\\\" new-dir-name))
2563 (let (temp res) 2563 (let (temp res)
2564 (mapc (lambda (char) 2564 (mapc (lambda (char)
2565 (cond ((equal char ?\\) 2565 (cond ((equal char ?\\)