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-03-15 21:48:00 +0100
commiteb801531b062879d71c6058b8a424073e278f3a2 (patch)
treefd33834bb22ff5bab200fec4b5249aea401ccea5 /.dir-locals.el
parent4ea3bc89429c3774a3700f5b12b96ba3d755936f (diff)
downloadwww-eb801531b062879d71c6058b8a424073e278f3a2.tar.gz
www-eb801531b062879d71c6058b8a424073e278f3a2.tar.bz2
www-eb801531b062879d71c6058b8a424073e278f3a2.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 00000000..68786381
--- /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
+ )))))