aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorColin Walters <[email protected]>2002-05-28 16:51:06 +0000
committerColin Walters <[email protected]>2002-05-28 16:51:06 +0000
commit9d118494d548336c25dec20726145fd4e795b84b (patch)
tree3d0e877b07a36504e7e16bd0fa84fdbe5e9d6061 /lisp/textmodes
parent532a8e8baf4a0b95c1f1e995178ec25fc57b5b9b (diff)
(xml-mode): New alias for `sgml-mode'.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/sgml-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index a9e13c7c49..28eea74f9f 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -446,6 +446,10 @@ Do \\[describe-key] on the following bindings to discover what they do.
(concat "<!\\(element\\|entity\\)[ \t\n]+%?[ \t\n]*\\("
sgml-name-re "\\)")))
+;; Some programs (such as Glade 2) generate XML which has
+;; -*- mode: xml -*-.
+(defalias 'xml-mode 'sgml-mode)
+
(defun sgml-comment-indent ()
(if (looking-at "--") comment-column 0))