my-emacs-d/elpa/yasnippet-20160924.2001/snippets/emacs-lisp-mode/traverse_dir

7 lines
191 B
Plaintext
Raw Normal View History

#name : traversing a directory
#contributor : Xah Lee
# --
;; apply a function to all files in a dir
(require 'find-lisp)
(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))