nxml-mode instead of xml-mode.
+2009-09-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
+ nxml-mode instead of xml-mode.
+
2009-09-21 Kevin Ryde <user42@zip.com.au>
* net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
(widen)
(goto-char (point-min))
(looking-at "<\\?xml \\|<!-- \\|<!DOCTYPE ")))
- (xml-mode)
+ (nxml-mode)
(conf-mode)))
(defvar interpreter-mode-alist
. 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 "))