Add a .dir-locals,el for configuring emacs for this project
authorHartmut Goebel <h.goebel@crazy-compilers.com>
Fri, 15 Mar 2019 20:03:35 +0000 (21:03 +0100)
committerHartmut Goebel <h.goebel@crazy-compilers.com>
Fri, 15 Mar 2019 20:06:19 +0000 (21:06 +0100)
.dir-locals.el [new file with mode: 0644]

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..6878638
--- /dev/null
@@ -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
+        )))))