Add xml-mode to auto-mode-alist.

PR:		ports/33573
Submitted by:	Kimura Fuyuki <fuyuki@mj.0038.net>
This commit is contained in:
Shigeyuki Fukushima 2002-01-09 15:09:20 +00:00
parent ad987f58f2
commit 6febe5e0d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52817

View file

@ -13,8 +13,10 @@
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
(setq auto-mode-alist
(append (list '("\\.s?html?\\'" . sgml-mode))
auto-mode-alist))
(append '(
("\\.s?html?\\'" . sgml-mode)
("\\.xml\\'" . xml-mode)
) auto-mode-alist))
(setq sgml-custom-dtd
'(("HTML" "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">")