summaryrefslogtreecommitdiff
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-03-15 21:48:08 +0100
commitc05d4a7888e543bd5a17583a2e69fe3679567e75 (patch)
tree223af6498eaaf0fdea3b6017ec1a4222b91fe90b
parentc27d88372df8cf06d71b026e75ad1563384f1997 (diff)
downloadlanding-c05d4a7888e543bd5a17583a2e69fe3679567e75.tar.gz
landing-c05d4a7888e543bd5a17583a2e69fe3679567e75.tar.bz2
landing-c05d4a7888e543bd5a17583a2e69fe3679567e75.zip
Add a .dir-locals,el for configuring emacs for this project
-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
+ )))))