[PATCH] Adding .dir-locals.el
Sergio Durigan Junior
sergiodj en sergiodj.net
Jue Mar 27 04:51:04 UTC 2014
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 | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 .dir-locals.el
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..4370b9f
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,18 @@
+;; Emacs settings
+;; Copyright (C) 2014 Sergio Durigan Junior <sergiodj em 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"))))
--
1.8.1.4
--
Sergio
Más información sobre la lista de distribución Softwares-impostos