Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9d118494
Commit
9d118494
authored
May 28, 2002
by
Colin Walters
Browse files
(xml-mode): New alias for `sgml-mode'.
parent
532a8e8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lisp/textmodes/sgml-mode.el
lisp/textmodes/sgml-mode.el
+4
-0
No files found.
lisp/textmodes/sgml-mode.el
View file @
9d118494
...
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment