aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-16 12:38:15 +0100
committerBjörn Gustavsson <[email protected]>2016-12-16 12:38:15 +0100
commit8bc83e63e39a255baea8a361888a9dfcc155b530 (patch)
treea62512d477f1298e9f089620e01f8945ae881257 /.dir-locals.el
parenta17267414f8d30016fc8c6eae182d6fa353ad5b4 (diff)
parent256e35e9f6969ce635ab6abb54071ffee441f7a7 (diff)
downloadotp-8bc83e63e39a255baea8a361888a9dfcc155b530.tar.gz
otp-8bc83e63e39a255baea8a361888a9dfcc155b530.tar.bz2
otp-8bc83e63e39a255baea8a361888a9dfcc155b530.zip
Merge branch 'maint'
* maint: Allow escripts with only two lines Add project-wide Emacs settings file
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000000..17bf4b636c
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,9 @@
+;; Project-wide Emacs settings
+(
+ ;; `nil' settings apply to all language modes
+ (nil
+ ;; Use only spaces for indentation
+ (indent-tabs-mode . nil))
+ (c-mode
+ ;; In C code, indentation is four spaces
+ (c-basic-offset . 4)))