diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-09-24 23:22:17 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-09-24 23:22:17 +0000 |
commit | e477ca8496f8170d1857ed92b51c27aa5ad22b95 (patch) | |
tree | e197743865efca4fdbd2e00ee27300d89b7ec8c3 /lisp/files.el | |
parent | 0a218d34a2110a5b3120a50dc089c9275309e419 (diff) | |
download | emacs-e477ca8496f8170d1857ed92b51c27aa5ad22b95.tar.gz |
* nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
* textmodes/sgml-mode.el: Remove xml-mode alias.
* files.el (auto-mode-alist, conf-mode-maybe)
(magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21
changes.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el index 13f907cd411..9d6218cc4eb 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2249,7 +2249,7 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'" . archive-mode) ("\\`/tmp/fol/" . text-mode) ("\\.oak\\'" . scheme-mode) ("\\.sgml?\\'" . sgml-mode) - ("\\.x[ms]l\\'" . nxml-mode) + ("\\.x[ms]l\\'" . xml-mode) ("\\.dtd\\'" . sgml-mode) ("\\.ds\\(ss\\)?l\\'" . dsssl-mode) ("\\.js\\'" . js-mode) ; javascript-mode would be better @@ -2344,7 +2344,7 @@ and `magic-mode-alist', which determines modes based on file contents.") (widen) (goto-char (point-min)) (looking-at "<\\?xml \\|<!-- \\|<!DOCTYPE "))) - (nxml-mode) + (xml-mode) (conf-mode))) (defvar interpreter-mode-alist @@ -2442,7 +2442,7 @@ If FUNCTION is nil, then it is not called. (That is a way of saying . html-mode) ("<!DOCTYPE[ \t\r\n]+[Hh][Tt][Mm][Ll]" . html-mode) ;; These two must come after html, because they are more general: - ("<\\?xml " . nxml-mode) + ("<\\?xml " . xml-mode) (,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)") (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\r\n]*<\\)"))) (concat "[ \t\r\n]*<" comment-re "*!DOCTYPE ")) |