Mesa (master): mesa: update the emacs indent files
Zack Rusin
zack at kemper.freedesktop.org
Thu Jun 21 21:30:43 UTC 2012
Module: Mesa
Branch: master
Commit: af98c6b05b0430bde099551fadbe4bbc39b24c95
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af98c6b05b0430bde099551fadbe4bbc39b24c95
Author: Zack Rusin <zackr at vmware.com>
Date: Thu Jun 21 17:25:09 2012 -0400
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
---
.dir-locals.el | 10 ++++++++++
.emacs-dirvars | 10 ----------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..3bd8328
--- /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 33945f9..0000000
--- 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)
More information about the mesa-commit
mailing list