aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters2002-05-28 16:51:06 +0000
committerColin Walters2002-05-28 16:51:06 +0000
commit9d118494d548336c25dec20726145fd4e795b84b (patch)
tree3d0e877b07a36504e7e16bd0fa84fdbe5e9d6061
parent532a8e8baf4a0b95c1f1e995178ec25fc57b5b9b (diff)
downloademacs-9d118494d548336c25dec20726145fd4e795b84b.tar.gz
emacs-9d118494d548336c25dec20726145fd4e795b84b.zip
(xml-mode): New alias for `sgml-mode'.
-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 a9e13c7c491..28eea74f9f3 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.
446 (concat "<!\\(element\\|entity\\)[ \t\n]+%?[ \t\n]*\\(" 446 (concat "<!\\(element\\|entity\\)[ \t\n]+%?[ \t\n]*\\("
447 sgml-name-re "\\)"))) 447 sgml-name-re "\\)")))
448 448
449;; Some programs (such as Glade 2) generate XML which has
450;; -*- mode: xml -*-.
451(defalias 'xml-mode 'sgml-mode)
452
449(defun sgml-comment-indent () 453(defun sgml-comment-indent ()
450 (if (looking-at "--") comment-column 0)) 454 (if (looking-at "--") comment-column 0))
451 455