Created
March 18, 2017 07:49
-
-
Save nil-ableton/c3c9483f7e42eeab813502a869edd31a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require find-lisp) | |
(defun map-find (root-dir fn) | |
(dolist (filename (find-lisp-find-files root-dir ".*\\.\\(cpp\\|h\\)$")) | |
(with-current-buffer (find-file-noselect filename) | |
(apply fn) | |
(save-buffer))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment