[libvirt] [PATCH] maint: let emacs avoid tabs in rng files

Eric Blake eblake at redhat.com
Sat Aug 13 13:29:17 UTC 2011


* .dir-locals.el: Add nxml-mode preferences.
---

I'm getting tired of accidentally adding tabs when I touch .rng
files, so I'm pushing this under the trivial rule.

 .dir-locals.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index d5eba86..c10603c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -11,4 +11,7 @@
  (sh-mode . (
 	     (indent-tabs-mode . nil)
 	     ))
+ (nxml-mode . (
+	       (indent-tabs-mode . nil)
+	       ))
  )
-- 
1.7.4.4




More information about the libvir-list mailing list