diff options
author | Magnus Henoch <[email protected]> | 2016-12-13 11:10:07 +0000 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2016-12-13 11:10:07 +0000 |
commit | 740a77e2e43ec75dbc2947821772ad02cd181c91 (patch) | |
tree | cace5c8025b9389e1995b66f6b17d14e0b1fa06b | |
parent | b47d104994c6f11301f23b0675ed5f06f3e25922 (diff) | |
download | otp-740a77e2e43ec75dbc2947821772ad02cd181c91.tar.gz otp-740a77e2e43ec75dbc2947821772ad02cd181c91.tar.bz2 otp-740a77e2e43ec75dbc2947821772ad02cd181c91.zip |
Add project-wide Emacs settings file
Add a .dir-locals.el file, which applies indentation-related settings
when editing any file in the project with Emacs.
-rw-r--r-- | .dir-locals.el | 9 |
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))) |