Add a .dir-locals,el for configuring emacs for this project

This commit is contained in:
Hartmut Goebel 2019-03-15 21:03:35 +01:00
parent 3771b4d6b6
commit da3c480a32
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF

16
.dir-locals.el Normal file
View File

@ -0,0 +1,16 @@
;; Per-directory local variables for GNU Emacs 23 and later.
((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
)))))