Function: multi-isearch-read-matching-files
multi-isearch-read-matching-files is a byte-compiled function defined
in misearch.el.gz.
Signature
(multi-isearch-read-matching-files)
Documentation
Return a list of files whose names match specified wildcard.
Uses read-regexp to read the wildcard.
Source Code
;; Defined in /usr/src/emacs/lisp/misearch.el.gz
;; A regexp is not the same thing as a file glob - does this matter?
(defun multi-isearch-read-matching-files ()
"Return a list of files whose names match specified wildcard.
Uses `read-regexp' to read the wildcard."
;; Most wildcard code from `find-file-noselect'.
(let ((filename (read-regexp "Search in files whose names match wildcard")))
(when (and filename
(not (string-match "\\`/:" filename))
(string-match "[[*?]" filename))
(condition-case nil
(file-expand-wildcards filename t)
(error (list filename))))))