mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Auto emacs format C++ no namespace indent
This commit is contained in:
parent
56999474e2
commit
90ea472411
@ -2,5 +2,5 @@
|
|||||||
for f in $@
|
for f in $@
|
||||||
do
|
do
|
||||||
cp $f $f.bak
|
cp $f $f.bak
|
||||||
emacs -batch -l $HOME/.emacs $f --eval '(progn (indent-region (point-min) (point-max) nil ) (save-buffer) ) '
|
emacs -batch -l $HOME/.emacs $f --eval "(progn (c-set-offset 'innamespace 0) ( c++-mode ) ( indent-region (point-min) (point-max) nil ) (save-buffer) ) "
|
||||||
done
|
done
|
Loading…
Reference in New Issue
Block a user