aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2019-05-05 13:11:03 -0400
committerNikolaus Rath <Nikolaus@rath.org>2019-05-09 14:16:37 -0500
commit055f272517306e6877a126e414aa60191b483eba (patch)
treea37dc1d38ad5fd2d76cb67dc32ba12ed445636a6 /.dir-locals.el
parent625ed81b823b927ce7fdb1d34def624ceb2f3553 (diff)
downloadlibfuse-055f272517306e6877a126e414aa60191b483eba.tar.gz
Added new example filesystem
passthrough_hp puts emphasis and performance and correctness, rather than simplicity.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el22
1 files changed, 22 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index a9d100f..628f512 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,5 +1,27 @@
((python-mode . ((indent-tabs-mode . nil)))
(autoconf-mode . ((indent-tabs-mode . t)))
+ (c++-mode . ((c-file-style . "k&r")
+ (indent-tabs-mode . nil)
+ (c-basic-offset . 4)
+ (c-file-offsets .
+ ((block-close . 0)
+ (brace-list-close . 0)
+ (brace-list-entry . 0)
+ (brace-list-intro . +)
+ (case-label . 0)
+ (class-close . 0)
+ (defun-block-intro . +)
+ (defun-close . 0)
+ (defun-open . 0)
+ (else-clause . 0)
+ (inclass . +)
+ (label . 0)
+ (statement . 0)
+ (statement-block-intro . +)
+ (statement-case-intro . +)
+ (statement-cont . +)
+ (substatement . +)
+ (topmost-intro . 0)))))
(c-mode . ((c-file-style . "stroustrup")
(indent-tabs-mode . t)
(tab-width . 8)