Re: RFC: add .dir-locals.el

Tom Tromey
2012-03-28T17:35:45Z

>>>>> "Joel" == Tom Tromey <tromey@redhat.com> writes:

Joel> I think it should have a copyright header, though....

Tom> Will do.

Here is what I am checking in.

Tom

2012-03-28 Tom Tromey <tromey@redhat.com>

* .dir-locals.el: New file.

Index: .dir-locals.el
===================================================================
RCS file: .dir-locals.el
diff -N .dir-locals.el
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ .dir-locals.el 28 Mar 2012 17:35:04 -0000
@@ -0,0 +1,24 @@
+;; Emacs settings.
+;; Copyright (C) 2012 Free Software Foundation, Inc.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+(
+ (tcl-mode . ((tcl-indent-level . 4)
+ (tcl-continued-indent-level . 4)
+ (indent-tabs-mode . t)))
+ (nil . ((bug-reference-url-format . "http://sourceware.org/bugzilla/show_bug.cgi?id=%s")))
+ (c-mode . ((c-file-style . "GNU")
+ (indent-tabs-mode . t)))
+)