Add per-directory local Emacs variables.

The idea is to enforce the coding style for Emacs users.
time-shift
Sébastien Villemot 2014-04-01 17:31:50 +02:00
parent afe286ebef
commit c24ae80ae2
2 changed files with 9 additions and 1 deletions

7
.dir-locals.el Normal file
View File

@ -0,0 +1,7 @@
((nil .
((c-file-style . "gnu")
(indent-tabs-mode . nil)
(fill-column . 79)))
(makefile-mode . ((indent-tabs-mode . t)))
(matlab-mode . ((matlab-indent-level . 4)
(matlab-indent-function-body . nil))))

View File

@ -30,7 +30,8 @@ EXTRA_DIST = \
windows/README.txt \
osx \
examples \
scripts
scripts \
.dir-locals.el
dist-hook:
rm -rf `find $(distdir)/matlab $(distdir)/examples -name *~`