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:45:02 +0100
commit0f7d8fbe61501c8b1c2f8e4e3fcd4ee4c432b4d9 (patch)
treec860e1faf34235d23bc4ebcbdbdb02fdcb2aa167 /.dir-locals.el
parent115ecfbc4956df71a09ece4d5f274841cc31ff85 (diff)
downloadexchange-0f7d8fbe61501c8b1c2f8e4e3fcd4ee4c432b4d9.tar.gz
exchange-0f7d8fbe61501c8b1c2f8e4e3fcd4ee4c432b4d9.tar.bz2
exchange-0f7d8fbe61501c8b1c2f8e4e3fcd4ee4c432b4d9.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 000000000..687863811
--- /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
+ )))))