aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2002-01-09 23:09:20 +0800
committershige <shige@FreeBSD.org>2002-01-09 23:09:20 +0800
commit3d529831b01194445e786c4e78d215c72e4c683d (patch)
tree36971c9aa5879df809074367e1a68bf4400b02cb /editors
parente2ac1c4905239e437d507fc4cfae1ce40faf4e42 (diff)
downloadfreebsd-ports-gnome-3d529831b01194445e786c4e78d215c72e4c683d.tar.gz
freebsd-ports-gnome-3d529831b01194445e786c4e78d215c72e4c683d.tar.zst
freebsd-ports-gnome-3d529831b01194445e786c4e78d215c72e4c683d.zip
Add xml-mode to auto-mode-alist.
PR: ports/33573 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Diffstat (limited to 'editors')
-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\">")