Add .dir-locals.el
authorSergio Durigan Junior <sergiodj@sergiodj.net>
Fri, 18 Apr 2014 01:46:30 +0000 (22:46 -0300)
committerSergio Durigan Junior <sergiodj@sergiodj.net>
Fri, 18 Apr 2014 01:46:30 +0000 (22:46 -0300)
This comment adds the file .dir-locals.el, which is a special file
loaded by Emacs every time a file is visited.  For now, it just sets the
coding style to "linux".

.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..4370b9f
--- /dev/null
@@ -0,0 +1,18 @@
+;; Emacs settings
+;; Copyright (C) 2014  Sergio Durigan Junior  <sergiodj@sergiodj.net>
+
+;; 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/>.
+
+; Set the coding style to Linux.
+((c-mode . ((c-file-style . "linux"))))