diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-03-22 23:36:24 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-03-22 23:36:24 +0100 |
commit | 40def769fa9007f0a8da3f9e05063575c9a06be6 (patch) | |
tree | a06482c1f06614498c0498cfbf6dda30d554eeca /doc/emacs/text.texi | |
parent | 5fc84e0fb3a121ae45580e1ecd5731f5255407fc (diff) | |
download | emacs-40def769fa9007f0a8da3f9e05063575c9a06be6.tar.gz |
Document outline-default-state
* doc/emacs/text.texi (Outline Visibility): Mention
outline-default-state.
Diffstat (limited to 'doc/emacs/text.texi')
-rw-r--r-- | doc/emacs/text.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 9f152f1cc14..fa8eaf09245 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -1259,6 +1259,17 @@ and related functions treat hidden text, @pxref{Query Replace}.) You can also automatically make text visible as you navigate in it by using Reveal mode (@kbd{M-x reveal-mode}), a buffer-local minor mode. +@vindex outline-default-state + The @code{outline-default-state} variable controls what headings +will be visible after Outline mode is turned on. If non-@code{nil}, +some headings are initially outlined. If equal to a number, show only +headings up to and including the corresponding level. If equal to +@code{outline-show-all}, all text of buffer is shown. If equal to +@code{outline-show-only-headings}, show only headings, whatever their +level is. If equal to a lambda function or function name, this +function is expected to toggle headings visibility, and will be called +without arguments after the mode is enabled. + @node Outline Views @subsection Viewing One Outline in Multiple Views |