diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-07-30 17:03:24 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2014-08-05 18:33:12 +0900 |
commit | fbf575cb010e558a87fad0de45660738c8180896 (patch) | |
tree | 42c079962bb8bc2baff2f9c911aa6f782c6b931a /.dir-locals.el | |
parent | 4b5060f357a3cb248c9359c92c1e9c42ef6434c8 (diff) |
Add Emacs .dir-local.el file
Based on the one from the Gallium radeon winsys, but enabling tabs for
indentation.
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..cbbe7f76 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,12 @@ +((nil + (indent-tabs-mode . t) + (tab-width . 8) + (c-basic-offset . 4) + (c-file-style . "stroustrup") + (fill-column . 78) + (eval . (progn + (c-set-offset 'innamespace '0) + (c-set-offset 'inline-open '0))) + ) + (makefile-mode (indent-tabs-mode . t)) + ) |