summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-04-23 07:17:08 +0000
committerGlenn Morris <rgm@gnu.org>2007-04-23 07:17:08 +0000
commit815fde3466fd76fb89c4f47a141e1cc10bca26b5 (patch)
tree5f35124b1c5090ac0257117e32a6d264a21dc071 /lisp/files.el
parentf4aad089ed28fa0cbb0752b19ed5757849ea0f3a (diff)
downloademacs-815fde3466fd76fb89c4f47a141e1cc10bca26b5.tar.gz
(magic-mode-alist): `<!DOCTYPE HTML' in html-mode.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 5f600dcf167..1b6a94766d3 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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 "\\(?:[^-]\\|-[^-]\\)")