]> git.cworth.org Git - apitrace/commitdiff
Replace .emacs-dirvars with .dir-locals.el
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 25 Oct 2011 22:16:35 +0000 (23:16 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 25 Oct 2011 22:20:04 +0000 (23:20 +0100)
Just basic whitespace formatting settings for all file types for now.
(And let the emacs pros do the rest later)

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

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644 (file)
index 0000000..5066446
--- /dev/null
@@ -0,0 +1,4 @@
+((nil . ((indent-tabs-mode . nil)
+         (tab-width . 8)
+         (c-basic-offset . 4)))
+)
diff --git a/.emacs-dirvars b/.emacs-dirvars
deleted file mode 100644 (file)
index 3cc9467..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-;; -*- emacs-lisp -*-
-;;
-;; This file is processed by the dirvars emacs package.  Each variable
-;; setting below is performed when this dirvars file is loaded.
-;;
-indent-tabs-mode: nil
-tab-width: 8
-c-basic-offset: 4
-evaluate: (c-set-offset 'innamespace '0)
-kde-emacs-after-parent-string: ""
-evaluate: (c-set-offset 'inline-open '0)
-kdab-qt-version: 4
-kdab-jump-project-name: kde
-magic-parens-mode: nil