aboutsummaryrefslogtreecommitdiff
path: root/editors/psgml
diff options
context:
space:
mode:
Diffstat (limited to 'editors/psgml')
-rw-r--r--editors/psgml/files/psgml-startup.el.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/psgml/files/psgml-startup.el.in b/editors/psgml/files/psgml-startup.el.in
index 3460d69ff988..759d4d7d7ff0 100644
--- a/editors/psgml/files/psgml-startup.el.in
+++ b/editors/psgml/files/psgml-startup.el.in
@@ -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\">")