From 9ff5d5a5d1c6a9449558bc5625ae2d3a287860c4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 17 Jan 2012 19:10:56 -0500 Subject: [PATCH] * dired.el (dired-build-subdir-alist): Use string-match-p in previous change. --- lisp/dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?\\) -- 2.39.2