summaryrefslogblamecommitdiffstats
path: root/emacs.d/snippets/text-mode/emacs-lisp-mode/traverse_dir
blob: 2859cbdec780404d139c4a2b0b8e9b973961266e (plain) (tree)
1
2
3
4
5
6





                                                                    
#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$"))