From: Lars Ingebrigtsen Date: Sat, 31 Jul 2021 20:22:42 +0000 (+0200) Subject: Document outline-minor-mode-cycle in the manual. X-Git-Tag: emacs-28.0.90~1622 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59f80ffc7daa15802bf8b010543277f60163f04f;p=emacs.git Document outline-minor-mode-cycle in the manual. * doc/emacs/text.texi (Outline Mode): Document outline-minor-mode-cycle. --- 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.