Skip to content

Instantly share code, notes, and snippets.

@takahisa
Created January 22, 2017 14:31
Show Gist options
  • Save takahisa/e3af76f84d462e910f6a17d7464814f3 to your computer and use it in GitHub Desktop.
Save takahisa/e3af76f84d462e910f6a17d7464814f3 to your computer and use it in GitHub Desktop.
Batch Indentation with Emacs
find . -name "*.ml" -exec emacs --batch {} --eval '(progn (indent-region (point-min) (point-max) nil) (save-buffer))' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment