summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2012-06-21 17:25:09 -0400
committerZack Rusin <zackr@vmware.com>2012-06-21 17:29:11 -0400
commitaf98c6b05b0430bde099551fadbe4bbc39b24c95 (patch)
tree842fa01db21aa68554849de59bd0e78f88fd42e2
parentff2b417245e8e62b546e27771e36460acc666a8e (diff)
mesa: update the emacs indent files
dirvars package has been replaced by built-in functionality of dir-locals. preserve the settings in the new infrastructure
-rw-r--r--.dir-locals.el10
-rw-r--r--.emacs-dirvars10
2 files changed, 10 insertions, 10 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000000..3bd83286ec
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,10 @@
+((nil
+ (indent-tabs-mode . nil)
+ (tab-width . 8)
+ (c-basic-offset . 3)
+ (c-file-style . "stroustrup")
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/.emacs-dirvars b/.emacs-dirvars
deleted file mode 100644
index 33945f91ed..0000000000
--- a/.emacs-dirvars
+++ /dev/null
@@ -1,10 +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: 3
-kde-emacs-after-parent-string: ""
-evaluate: (c-set-offset 'inline-open '0)