]> git.donarmstrong.com Git - lilypond.git/commitdiff
Establish some coding styles in Emacs
authorDavid Kastrup <dak@gnu.org>
Sun, 19 Aug 2012 20:12:07 +0000 (22:12 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Fri, 24 Aug 2012 20:18:44 +0000 (22:18 +0200)
This uses directory variables to enforce some coding style features in
C++, Scheme and Texinfo files in the source tree.

.dir-locals.el [new file with mode: 0644]

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..72472a6
--- /dev/null
@@ -0,0 +1,11 @@
+;;; Directory Local Variables
+;;; See Info node `(emacs) Directory Variables' for more information.
+
+((c++-mode
+  (c-default-style . "gnu")
+  (indent-tabs-mode))
+ (scheme-mode
+  (indent-tabs-mode))
+ (texinfo-mode
+  (fill-column . 66)
+  (indent-tabs-mode)))