Function: file-cache-files-matching

file-cache-files-matching is an interactive and byte-compiled function defined in filecache.el.gz.

Signature

(file-cache-files-matching REGEXP)

Documentation

Output a list of files whose names (not including directories) match REGEXP.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/filecache.el.gz
(defun file-cache-files-matching (regexp)
  "Output a list of files whose names (not including directories)
match REGEXP."
  (interactive "sFind files matching regexp: ")
  (let ((results
	 (file-cache-files-matching-internal regexp))
	buf)
    (set-buffer
     (setq buf (get-buffer-create
		"*File Cache Files Matching*")))
    (erase-buffer)
    (insert
     (mapconcat #'identity results "\n"))
    (goto-char (point-min))
    (display-buffer buf)))