monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 7c8ec5dcacd0ab73f1265aa107e651eab13bd91a
Author: Mosè Giordano <[email protected]>
Date: Tue Nov 5 17:23:41 2013 +0100
Document missing folding variables.
* doc/auctex.texi (Folding): Document `TeX-fold-auto' and
`TeX-fold-unfold-around-mark'.
---
ChangeLog | 3 +++
doc/auctex.texi | 11 +++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3eba1f0..945802c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-11-05 Mos� Giordano <[email protected]>
+ * doc/auctex.texi (Folding): Document `TeX-fold-auto' and
+ `TeX-fold-unfold-around-mark'.
+
* latex.el (TeX-arg-bibliography): Run style files associated to
the bibliography database files.
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 1af8cdb..3cf7dcb 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2187,6 +2187,12 @@ forced fontification by customizing the variable
@code{TeX-fold-force-fontify}.
@end defopt
+@defopt TeX-fold-auto
+By default, a macro inserted with @code{TeX-insert-macro} (@kbd{C-c
+C-m}) will not be folded. Set this variable to a non-nil value to
+aumatically fold macros as soon as they are inserted.
+@end defopt
+
@defopt TeX-fold-preserve-comments
By default items found in comments will be folded. If your comments
often contain unfinished code this might lead to problems. Give this
@@ -2194,6 +2200,11 @@ variable a non-nil value and foldable items in your
comments will be
left alone.
@end defopt
+@defopt TeX-fold-unfold-around-mark
+When this variable is non-nil and there is an active regione, text
+around the mark will be kept unfolded.
+@end defopt
+
@deffn Command TeX-fold-region
@kindex C-c C-o C-r
(@kbd{C-c C-o C-r}) Hide all configured macros in the marked region.