summaryrefslogtreecommitdiff
path: root/.dir-locals.el
blob: ab6208b6983a5c58557c89076a30e396fb2800d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; see also src/tools/editors/emacs.samples for more complete settings

((c-mode . ((c-basic-offset . 4)
            (c-file-style . "bsd")
            (fill-column . 78)
            (indent-tabs-mode . t)
            (tab-width . 4)))
 (nxml-mode . ((fill-column . 78)
               (indent-tabs-mode . nil)))
 (perl-mode . ((perl-indent-level . 4)
               (perl-continued-statement-offset . 2)
               (perl-continued-brace-offset . -2)
               (perl-brace-offset . 0)
               (perl-brace-imaginary-offset . 0)
               (perl-label-offset . -2)
               (indent-tabs-mode . t)
               (tab-width . 4)))
 (sgml-mode . ((fill-column . 78)
               (indent-tabs-mode . nil))))