(magic-mode-alist): `<!DOCTYPE HTML' in html-mode.

This commit is contained in:
Glenn Morris 2007-04-23 07:17:08 +00:00
parent f4aad089ed
commit 815fde3466

View file

@ -2131,6 +2131,7 @@ associated with that interpreter in `interpreter-mode-alist'.")
"\\(?:!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 "\\(?:[^-]\\|-[^-]\\)")