mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Useful drive to emacs C++ mode
This commit is contained in:
parent
6f20f1d224
commit
ca6bdd7302
6
scripts/format
Executable file
6
scripts/format
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
for f in $@
|
||||
do
|
||||
cp $f $f.bak
|
||||
emacs -batch -l $HOME/.emacs $f --eval '(progn (indent-region (point-min) (point-max) nil ) (save-buffer) ) '
|
||||
done
|
Loading…
Reference in New Issue
Block a user