diff options
| author | Glenn Morris | 2012-02-08 00:00:03 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-08 00:00:03 -0800 |
| commit | e74e58c91f18d5657c3a9df67ab3861eaec9d2d0 (patch) | |
| tree | e17d1f92236b6aeba39fd069254c5dbc568b0392 | |
| parent | 34e8a2da58131aa0e30f2b7427829b41d2997f10 (diff) | |
| download | emacs-e74e58c91f18d5657c3a9df67ab3861eaec9d2d0.tar.gz emacs-e74e58c91f18d5657c3a9df67ab3861eaec9d2d0.zip | |
* doc/emacs/text.texi (LaTeX Editing): Mention latex-electric-env-pair-mode.
* etc/NEWS: Related markup.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 5 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a5a54dad049..9f51d9bbde6 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-02-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * text.texi (LaTeX Editing): Mention latex-electric-env-pair-mode. | ||
| 4 | |||
| 1 | 2012-02-07 Glenn Morris <rgm@gnu.org> | 5 | 2012-02-07 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * files.texi (File Conveniences): Mention ImageMagick images. | 7 | * files.texi (File Conveniences): Mention ImageMagick images. |
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 591ca80f27c..b4310d6372f 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -1591,12 +1591,15 @@ variable @code{latex-block-names}. | |||
| 1591 | 1591 | ||
| 1592 | @findex tex-close-latex-block | 1592 | @findex tex-close-latex-block |
| 1593 | @kindex C-c C-e @r{(La@TeX{} mode)} | 1593 | @kindex C-c C-e @r{(La@TeX{} mode)} |
| 1594 | @findex latex-electric-env-pair-mode | ||
| 1594 | In La@TeX{} input, @samp{\begin} and @samp{\end} tags must balance. | 1595 | In La@TeX{} input, @samp{\begin} and @samp{\end} tags must balance. |
| 1595 | You can use @kbd{C-c C-e} (@code{tex-close-latex-block}) to insert an | 1596 | You can use @kbd{C-c C-e} (@code{tex-close-latex-block}) to insert an |
| 1596 | @samp{\end} tag which matches the last unmatched @samp{\begin}. It | 1597 | @samp{\end} tag which matches the last unmatched @samp{\begin}. It |
| 1597 | also indents the @samp{\end} to match the corresponding @samp{\begin}, | 1598 | also indents the @samp{\end} to match the corresponding @samp{\begin}, |
| 1598 | and inserts a newline after the @samp{\end} tag if point is at the | 1599 | and inserts a newline after the @samp{\end} tag if point is at the |
| 1599 | beginning of a line. | 1600 | beginning of a line. The minor mode @code{latex-electric-env-pair-mode} |
| 1601 | automatically inserts an @samp{\end} or @samp{\begin} tag for you | ||
| 1602 | when you type the corresponding one. | ||
| 1600 | 1603 | ||
| 1601 | @node TeX Print | 1604 | @node TeX Print |
| 1602 | @subsection @TeX{} Printing Commands | 1605 | @subsection @TeX{} Printing Commands |
| @@ -829,6 +829,7 @@ sql-list-all and sql-list-table. | |||
| 829 | 829 | ||
| 830 | ** TeX modes | 830 | ** TeX modes |
| 831 | 831 | ||
| 832 | +++ | ||
| 832 | *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. | 833 | *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. |
| 833 | 834 | ||
| 834 | ** Tramp | 835 | ** Tramp |