aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-16 12:37:22 +0100
committerGitHub <[email protected]>2016-12-16 12:37:22 +0100
commit256e35e9f6969ce635ab6abb54071ffee441f7a7 (patch)
treef95bda4d77b66505bf06fa8aad51f8b1a749814c
parenta795557a5c00ff31960434c2f5606476f3bb8a6e (diff)
parent740a77e2e43ec75dbc2947821772ad02cd181c91 (diff)
downloadotp-256e35e9f6969ce635ab6abb54071ffee441f7a7.tar.gz
otp-256e35e9f6969ce635ab6abb54071ffee441f7a7.tar.bz2
otp-256e35e9f6969ce635ab6abb54071ffee441f7a7.zip
Merge pull request #1279 from legoscia/emacs-dir-locals
Add project-wide Emacs settings file
-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)))