Add a .dir-locals.el file.

* .dir-locals.el: New file.
* Makefile.am (EXTRA_DIST): Distribute it.
This commit is contained in:
Alexandre Duret-Lutz 2012-11-27 15:19:20 +01:00
parent d10e772d35
commit 5efb66cb25
2 changed files with 8 additions and 1 deletions

7
.dir-locals.el Normal file
View file

@ -0,0 +1,7 @@
((nil . ((whitespace-action . '(auto-cleanup))
(whitespace-style . '(trailing lines-tail))
(require-final-newline . t)))
(c++-mode . ((c-default-style . "gnu")
(indent-tab-mode . t)
(tab-width . 8)
(fill-column . 70))))

View file

@ -42,7 +42,7 @@ UTF8 = utf8/doc/ReleaseNotes utf8/doc/utf8cpp.html utf8/utf8.h \
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = HACKING ChangeLog.1 tools/gitlog-to-changelog tools/help2man \
$(UTF8) m4/gnulib-cache.m4
$(UTF8) m4/gnulib-cache.m4 .dir-locals.el
dist-hook: gen-ChangeLog