1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(xml-mode): New alias for `sgml-mode'.

This commit is contained in:
Colin Walters 2002-05-28 16:51:06 +00:00
parent 532a8e8baf
commit 9d118494d5

View 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))