remove the CREATE_CONSTRUCTOR in favor of futur hkl_geometry_new_xxx
[hkl.git] / scripts / indent
blob45374829c1bd9d7647641f6ccc7b4a5d5a37723b
1 #!/bin/bash
2 # PUBLIC DOMAIN
3 if [ -z "$1" ]; then
4 echo usage: $0 file-to-indent file2 file3 ...
5 exit 1
6 fi
8 for i in $@; do
9 echo Loading $i
10 emacs --batch --load ~/.emacs --file $i \
11 -f c-mode --eval "(indent-region (point-min) (point-max) nil)" -f save-buffer
12 done