aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTom Tromey2017-03-23 11:34:18 -0600
committerTom Tromey2017-04-05 15:53:39 -0600
commit335174ee5037a2751c31bfd9ecb87cedb4bc3cda (patch)
treed2faaab5f48303aa08ef707d842d2e22e31650f6 /doc
parentd392b6e82460d94b11627998da87e33880664060 (diff)
downloademacs-335174ee5037a2751c31bfd9ecb87cedb4bc3cda.tar.gz
emacs-335174ee5037a2751c31bfd9ecb87cedb4bc3cda.zip
add mhtml-mode.el
* etc/NEWS: Update. * lisp/textmodes/mhtml-mode.el: New file. * test/manual/indent/html-multi.html: New file. * test/lisp/textmodes/mhtml-mode-tests.el: New file. * doc/emacs/text.texi (HTML Mode): Mention mhtml-mode.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/text.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index 5f02d0b6920..d1e451175ed 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -1899,8 +1899,14 @@ between Latin-1 encoded files and @TeX{}-encoded equivalents.
1899@findex html-mode 1899@findex html-mode
1900 1900
1901 The major modes for SGML and HTML provide indentation support and 1901 The major modes for SGML and HTML provide indentation support and
1902commands for operating on tags. HTML mode is a slightly customized 1902commands for operating on tags.
1903variant of SGML mode. 1903
1904 HTML consists of two modes---one, a basic mode called
1905@code{html-mode} is a slightly customized variant of SGML mode. The
1906other, which is used by default for HTML files, is called
1907@code{mhtml-mode}, and attempts to properly handle Javascript enclosed
1908in a @code{<script>} element and CSS embedded in a @code{<style>}
1909element.
1904 1910
1905@table @kbd 1911@table @kbd
1906@item C-c C-n 1912@item C-c C-n