Bug 770123 - Add emacs locale settings for GNU coding style.

Taken from: https://gcc.gnu.org/wiki/FormattingCodeForGCC
I assumed it is upstream enough, but since I don't use emacs, I have not
tested and just hope it is good. Do not hesitate to commit better emacs
settings to follow our coding style!
This commit is contained in:
Jehan 2016-08-23 18:11:53 +02:00
parent cc02ee1160
commit dabf8de59f
1 changed files with 3 additions and 0 deletions

3
.dir-locals.el Normal file
View File

@ -0,0 +1,3 @@
((c-mode . ((c-file-style . "GNU")
(c-basic-offset . 2)
(indent-tabs-mode t))))