emacs-prelude/vendor/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet
2012-02-17 22:12:32 +02:00

7 lines
No EOL
225 B
Text
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$"))