Commit 9ff5d5a5 authored by Glenn Morris's avatar Glenn Morris
Browse files

* dired.el (dired-build-subdir-alist): Use string-match-p in previous change.

parent 01153e44
......@@ -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 ?\\)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment