blob: 29999b9443f29f23e73a61d14b043bc4e339541b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;; Per-directory local variables for GNU Emacs 23 and later.
((c-mode
(eval add-hook 'before-save-hook #'clang-format-buffer nil t)))
((nil
. ((fill-column . 78)
(tab-width . 4)
(indent-tabs-mode . nil)
(show-trailing-whitespace . t)
(c-basic-offset . 2)
(ispell-check-comments . exclusive)
(ispell-local-dictionary . "american")
(safe-local-variable-values
'((c-default-style . "gnu")
(sentence-end-double-space . f)
(eval add-hook 'prog-mode-hook #'flyspell-prog-mode)
(flyspell-issue-message-flag . f) ; avoid messages for every word
)))))
|