From: Glenn Morris Date: Wed, 18 Jan 2012 00:10:56 +0000 (-0500) Subject: * dired.el (dired-build-subdir-alist): Use string-match-p in previous change. X-Git-Tag: emacs-pretest-24.0.93~97^2~16^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ff5d5a5d1c6a9449558bc5625ae2d3a287860c4;p=emacs.git * dired.el (dired-build-subdir-alist): Use string-match-p in previous change. --- 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'." ;; 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 ?\\)