changeset 77439:850af384ea3c

(magic-mode-alist): `<!DOCTYPE HTML' in html-mode.
author Glenn Morris <rgm@gnu.org>
date Mon, 23 Apr 2007 07:17:08 +0000
parents 4d54d376f8dc
children e9b4790481bc
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Apr 23 07:16:10 2007 +0000
+++ b/lisp/files.el	Mon Apr 23 07:17:08 2007 +0000
@@ -2131,6 +2131,7 @@
 		"\\(?:!DOCTYPE[ \t\r\n]+[^>]*>[ \t\r\n]*<[ \t\r\n]*" comment-re "*\\)?"
 		"[Hh][Tt][Mm][Ll]"))
      . 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)
     (,(let* ((incomment-re "\\(?:[^-]\\|-[^-]\\)")