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



commit dabf8de59f5f51f088ec978c12c174d9a66dbfe5
Author: Jehan <jehan girinstud io>
Date:   Tue Aug 23 18:11:53 2016 +0200

    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!

 .dir-locals.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..4fce4d7
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,3 @@
+((c-mode . ((c-file-style . "GNU")
+            (c-basic-offset . 2)
+            (indent-tabs-mode t))))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]