Add codding-style configuration for emacs
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 8 May 2017 20:48:18 +0000 (22:48 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 9 May 2017 11:40:23 +0000 (13:40 +0200)
.dir-locals.el [new file with mode: 0644]

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..18bfe66
--- /dev/null
@@ -0,0 +1,8 @@
+;; Set Emacs file variables for different modes.
+;; The list comprises entries of the following form:
+;;   (major-mode . ((var1 . val1) (var2 . val2)))
+;; If major-mode is nil values apply for all modes.
+((nil . ((indent-tabs-mode . nil)))
+ (c-mode . ((indent-tabs-mode . t)
+            (c-basic-offset . 4)
+            (tab-width . 4))))