diff options
-rw-r--r-- | includes/.dir-locals.el | 19 | ||||
-rw-r--r-- | rts/.dir-locals.el | 19 |
2 files changed, 20 insertions, 18 deletions
diff --git a/includes/.dir-locals.el b/includes/.dir-locals.el index c97af77a80..9e13ffa6ba 100644 --- a/includes/.dir-locals.el +++ b/includes/.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))) 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))) |