summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2019-03-15 21:03:35 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2019-04-18 12:43:54 +0200
commit4dcfcba8f275f1eea0b53c11213c426767008853 (patch)
treec640cacef7d674b4397df5b8d2a0b8a5f04d9398 /.dir-locals.el
parentff5502f63dcf9a9b5f201bb46de2540cf3e0d406 (diff)
downloadsurvey-4dcfcba8f275f1eea0b53c11213c426767008853.tar.gz
survey-4dcfcba8f275f1eea0b53c11213c426767008853.tar.bz2
survey-4dcfcba8f275f1eea0b53c11213c426767008853.zip
Add a .dir-locals,el for configuring emacs for this project
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..6878638
--- /dev/null
+++ b/.dir-locals.el
@@ -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
+ )))))