changeset 45557:1cae8564d2c7

(xml-mode): New alias for `sgml-mode'.
author Colin Walters <walters@gnu.org>
date Tue, 28 May 2002 16:51:06 +0000
parents 092e6af2b02f
children 483a39fc5666
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Tue May 28 16:50:51 2002 +0000
+++ b/lisp/textmodes/sgml-mode.el	Tue May 28 16:51:06 2002 +0000
@@ -446,6 +446,10 @@
        (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))