diff lisp/files.el @ 105134:c0874098bd62

* files.el (conf-mode-maybe, magic-fallback-mode-alist): Use nxml-mode instead of xml-mode.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 21 Sep 2009 22:12:28 +0000
parents 7bb053fa9426
children 064e6af6adba
line wrap: on
line diff
--- a/lisp/files.el	Mon Sep 21 09:51:38 2009 +0000
+++ b/lisp/files.el	Mon Sep 21 22:12:28 2009 +0000
@@ -2344,7 +2344,7 @@
 	  (widen)
 	  (goto-char (point-min))
 	  (looking-at "<\\?xml \\|<!-- \\|<!DOCTYPE ")))
-      (xml-mode)
+      (nxml-mode)
     (conf-mode)))
 
 (defvar interpreter-mode-alist
@@ -2442,7 +2442,7 @@
      . html-mode)
     ("<!DOCTYPE[ \t\r\n]+[Hh][Tt][Mm][Ll]" . html-mode)
     ;; These two must come after html, because they are more general:
-    ("<\\?xml " . xml-mode)
+    ("<\\?xml " . nxml-mode)
     (,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)")
 	     (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\r\n]*<\\)")))
 	(concat "[ \t\r\n]*<" comment-re "*!DOCTYPE "))