my-emacs-d/elpa/yasnippet-20160924.2001/snippets/emacs-lisp-mode/x-traverse_dir
2016-10-20 10:27:10 +02:00

7 lines
223 B
Plaintext
Executable File

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