1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

* doc/emacs/text.texi (LaTeX Editing): Mention latex-electric-env-pair-mode.

* etc/NEWS: Related markup.
This commit is contained in:
Glenn Morris 2012-02-08 00:00:03 -08:00
parent 34e8a2da58
commit e74e58c91f
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-02-08 Glenn Morris <rgm@gnu.org>
* text.texi (LaTeX Editing): Mention latex-electric-env-pair-mode.
2012-02-07 Glenn Morris <rgm@gnu.org>
* files.texi (File Conveniences): Mention ImageMagick images.

View file

@ -1591,12 +1591,15 @@ variable @code{latex-block-names}.
@findex tex-close-latex-block
@kindex C-c C-e @r{(La@TeX{} mode)}
@findex latex-electric-env-pair-mode
In La@TeX{} input, @samp{\begin} and @samp{\end} tags must balance.
You can use @kbd{C-c C-e} (@code{tex-close-latex-block}) to insert an
@samp{\end} tag which matches the last unmatched @samp{\begin}. It
also indents the @samp{\end} to match the corresponding @samp{\begin},
and inserts a newline after the @samp{\end} tag if point is at the
beginning of a line.
beginning of a line. The minor mode @code{latex-electric-env-pair-mode}
automatically inserts an @samp{\end} or @samp{\begin} tag for you
when you type the corresponding one.
@node TeX Print
@subsection @TeX{} Printing Commands

View file

@ -829,6 +829,7 @@ sql-list-all and sql-list-table.
** TeX modes
+++
*** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
** Tramp