aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dir-locals.example.el
blob: a9fa24464ef5b66255ca3c4be7e92728dc30c0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; This is an example of what a .dir-locals.el suitable for OpenSSL
;;; development could look like.
;;;
;;; Apart from setting the CC mode style to "OpenSSL-II", it also
;;; makes sure that tabs are never used for indentation in any file,
;;; and that the fill column is 78.
;;;
;;; For more information see (info "(emacs) Directory Variables")

((nil
  (indent-tabs-mode . nil)
  (fill-column . 78)
  ;; (auto-fill-mode . t)  ;; optional.
  )
 (c-mode
  (auto-fill-mode . nil)   ;; auto-fill makes more harm than good in C
  (c-file-style . "OpenSSL-II")))