branch: externals/auctex
commit acf1c760b77a932afb2034059f3508f389415ca2
Author: Tassilo Horn <[email protected]>
Date: Fri Nov 21 15:06:37 2014 +0100
Document LaTeX-command-section.
* doc/auctex.texi (Starting a Command): Document
LaTeX-command-section and friends.
---
ChangeLog | 3 +++
doc/auctex.texi | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index eb00e61..6dfcc5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-11-21 Tassilo Horn <[email protected]>
+ * doc/auctex.texi (Starting a Command): Document
+ LaTeX-command-section and friends.
+
* style/book.el ("book"): Set LaTeX-largest-level to part instead
of chapter.
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 48545eb..ea22c71 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2655,6 +2655,22 @@ file. The command is then actually run on the region
file. See above
for details.
@end deffn
+@deffn Command LaTeX-command-section
+@kindex C-c C-z
+(@kbd{C-c C-z}) Query the user for a command, and apply it to the
+current section (or part, chapter, subsection, paragraph, or
+subparagraph). What makes the current section is determined by
+@code{LaTeX-command-section-level} which can be enlarged/shrunken using
+@code{LaTeX-command-section-change-level} (@kbd{C-c M-z}). The given
+numeric prefix arg is added to the current value of
+@code{LaTeX-command-section-level}. By default,
+@code{LaTeX-command-section-level} is initialized with the current
+document's @code{LaTeX-largest-level}. The buffer contents are written
+into the region file, after extracting the header and trailer from the
+master file. The command is then actually run on the region file. See
+@code{TeX-command-region} for details.
+@end deffn
+
@defopt TeX-region
The name of the file for temporarily storing the text when formatting
the current region.