yasnippet/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet
2011-10-13 14:34:13 +01:00

6 lines
201 B
Plaintext
Executable File

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