From: Sebastian Urban Date: Fri, 28 Jan 2022 16:12:35 +0000 (+0100) Subject: Fix manual points about tex-latex-block/latex-insert-block X-Git-Tag: emacs-29.0.90~2683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=96867f9d0897319adda9d7b8ec84c1fb9e451225;p=emacs.git Fix manual points about tex-latex-block/latex-insert-block * doc/emacs/text.texi (LaTeX Editing): (LaTeX Editing): Update documentation of tex-latex-block/latex-insert-block to what they really point to (bug#37325). Copyright-paperwork-exempt: yes --- diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index c5b54777a8c..9f152f1cc14 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -1702,17 +1702,17 @@ to work with them. @table @kbd @item C-c C-o Insert @samp{\begin} and @samp{\end} for @LaTeX{} block and position -point on a line between them (@code{tex-latex-block}). +point on a line between them (@code{latex-insert-block}). @item C-c C-e Close the innermost @LaTeX{} block not yet closed -(@code{tex-close-latex-block}). +(@code{latex-close-block}). @end table -@findex tex-latex-block +@findex latex-insert-block @kindex C-c C-o @r{(@LaTeX{} mode)} In @LaTeX{} input, @samp{\begin} and @samp{\end} tags are used to group blocks of text. To insert a block, type @kbd{C-c C-o} -(@code{tex-latex-block}). This prompts for a block type, and inserts +(@code{latex-insert-block}). This prompts for a block type, and inserts the appropriate matching @samp{\begin} and @samp{\end} tags, leaving a blank line between the two and moving point there. @@ -1723,11 +1723,11 @@ completion list contains the standard @LaTeX{} block types. If you want additional block types for completion, customize the list variable @code{latex-block-names}. -@findex tex-close-latex-block +@findex latex-close-block @kindex C-c C-e @r{(@LaTeX{} mode)} @findex latex-electric-env-pair-mode In @LaTeX{} 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 +You can use @kbd{C-c C-e} (@code{latex-close-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