mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
Auto emacs format C++ no namespace indent
This commit is contained in:
parent
56999474e2
commit
90ea472411
@ -2,5 +2,5 @@
|
||||
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) ) '
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user