]> git.eshelyaron.com Git - emacs.git/commitdiff
(xml-mode): New alias for `sgml-mode'.
authorColin Walters <walters@gnu.org>
Tue, 28 May 2002 16:51:06 +0000 (16:51 +0000)
committerColin Walters <walters@gnu.org>
Tue, 28 May 2002 16:51:06 +0000 (16:51 +0000)
lisp/textmodes/sgml-mode.el

index a9e13c7c4918d967eb2bafa52e7da06fd57f982a..28eea74f9f3d21f6f115b38a2c1aaeb8ea4e39f5 100644 (file)
@@ -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))