1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00

Useful drive to emacs C++ mode

This commit is contained in:
paboyle 2018-01-15 00:24:41 +00:00
parent 6f20f1d224
commit ca6bdd7302

6
scripts/format Executable file
View 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