summaryrefslogtreecommitdiff
path: root/rts/.dir-locals.el
diff options
context:
space:
mode:
Diffstat (limited to 'rts/.dir-locals.el')
-rw-r--r--rts/.dir-locals.el19
1 files changed, 10 insertions, 9 deletions
diff --git a/rts/.dir-locals.el b/rts/.dir-locals.el
index c97af77a80..9e13ffa6ba 100644
--- a/rts/.dir-locals.el
+++ b/rts/.dir-locals.el
@@ -1,12 +1,13 @@
;;; Directory Local Variables
;;; See Info node `(emacs) Directory Variables' for more information.
-((c-mode
- (fill-column . 80))
- (emacs-lisp-mode
- (buffer-file-coding-system . utf-8-unix)
- (c-basic-offset . 4)
- (indent-tabs-mode)))
-
-
-
+;; Default mode settings: no tabs, 80 column, UTF8
+((nil
+ (indent-tabs-mode . nil)
+ (fill-column . 80)
+ (buffer-file-coding-system . utf-8-unix))
+
+ ;; c-mode settings: 'Allman' BSD style, 4 space indents
+ (c-mode
+ (c-file-style . "BSD")
+ (c-basic-offset . 4)))