changeset 105092:7bb053fa9426

* files.el (auto-mode-alist): Change default for XML files to nXML mode (Bug#4169).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 18 Sep 2009 18:42:16 +0000
parents 7a298bd3ef6e
children fdf0cd460ea3
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Sep 18 16:59:36 2009 +0000
+++ b/lisp/ChangeLog	Fri Sep 18 18:42:16 2009 +0000
@@ -1,3 +1,8 @@
+2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
+
+	* files.el (auto-mode-alist): Change default for XML files to nXML
+	mode (Bug#4169).
+
 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
 
 	* server.el (server-ensure-safe-dir): Pass 'integer
--- a/lisp/files.el	Fri Sep 18 16:59:36 2009 +0000
+++ b/lisp/files.el	Fri Sep 18 18:42:16 2009 +0000
@@ -2249,7 +2249,7 @@
      ("\\`/tmp/fol/" . text-mode)
      ("\\.oak\\'" . scheme-mode)
      ("\\.sgml?\\'" . sgml-mode)
-     ("\\.x[ms]l\\'" . xml-mode)
+     ("\\.x[ms]l\\'" . nxml-mode)
      ("\\.dtd\\'" . sgml-mode)
      ("\\.ds\\(ss\\)?l\\'" . dsssl-mode)
      ("\\.js\\'" . js-mode)		; javascript-mode would be better