summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/text.texi6
-rw-r--r--etc/NEWS1
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index c9c4be3c61d..1fe278131ff 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -997,6 +997,12 @@ specific file (@pxref{File Variables}).
major mode's special commands. (The variable
@code{outline-minor-mode-prefix} controls the prefix used.)
+ If the @code{outline-minor-mode-cycle} user option is
+non-@code{nil}, the @kbd{TAB} and @kbd{S-TAB} keys are enabled on the
+outline heading lines. @kbd{TAB} cycles hiding, showing the
+sub-heading, and showing all for the current section. @kbd{S-TAB}
+does the same for the entire buffer.
+
@menu
* Outline Format:: What the text of an outline looks like.
* Outline Motion:: Special commands for moving through outlines.
diff --git a/etc/NEWS b/etc/NEWS
index 1a7f20bb8b4..3cda75d8040 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -479,6 +479,7 @@ Typing 'TAB' on a heading line cycles the current section between
anywhere in the buffer cycles the whole buffer between "only top-level
headings", "all headings and subheadings", and "show all" states.
++++
*** New user option 'outline-minor-mode-cycle'.
This user option customizes 'outline-minor-mode', with the difference
that 'TAB' and 'S-TAB' on heading lines cycle heading visibility.