Files
emacs/lisp/yasnippet-snippets/snippets/emacs-lisp-mode/traverse_dir
2020-12-05 21:29:49 +01:00

7 lines
215 B
Plaintext

# -*- mode: snippet -*-
# 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$"))