]> git.donarmstrong.com Git - lilypond.git/blob - scripts/auxiliar/fixscm.sh
Add '-dcrop' option to ps and svg backends
[lilypond.git] / scripts / auxiliar / fixscm.sh
1 #!/bin/sh
2 #
3 # Indent and untabify source files (given by their
4 # filenames in the command line), according to
5 # LilyPond source style standards.
6
7 elisp_expression='(progn
8   (delete-trailing-whitespace)
9   (indent-region (point-min) (point-max) nil)
10   (untabify (point-min) (point-max))
11   (save-buffer))'
12 for f in "$@"; do
13   emacs -batch "$f" --eval "${elisp_expression}"
14 done