Function: hfy-list-files
hfy-list-files is a byte-compiled function defined in
htmlfontify.el.gz.
Signature
(hfy-list-files DIRECTORY)
Documentation
Return a list of files under DIRECTORY.
Strips any leading "./" from each filename.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
;; recursive file listing
(defun hfy-list-files (directory)
"Return a list of files under DIRECTORY.
Strips any leading \"./\" from each filename."
;;(message "hfy-list-files");;DBUG
;; FIXME: this changes the dir of the current buffer. Is that right??
(cd directory)
(cl-remove-if (lambda (f)
(or (null (file-regular-p f))
(seq-some (lambda (r)
(string-match r f))
hfy-exclude-file-rules)))
(directory-files-recursively "." "" nil t)))