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)
  (mapcar (lambda (F) (if (string-match "^./\\(.*\\)" F) (match-string 1 F) F))
          (split-string (shell-command-to-string hfy-find-cmd))) )