diff options
author | Colin Walters <[email protected]> | 2002-05-28 16:51:06 +0000 |
---|---|---|
committer | Colin Walters <[email protected]> | 2002-05-28 16:51:06 +0000 |
commit | 9d118494d548336c25dec20726145fd4e795b84b (patch) | |
tree | 3d0e877b07a36504e7e16bd0fa84fdbe5e9d6061 /lisp | |
parent | 532a8e8baf4a0b95c1f1e995178ec25fc57b5b9b (diff) |
(xml-mode): New alias for `sgml-mode'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 4 |
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)) |