diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-31 23:13:52 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-31 23:13:58 +0100 |
commit | 57030b90d54af1a47508fca032da2634b8c26f4c (patch) | |
tree | 1a66950d12473acbbc93f207397f6abb295e85e5 /doc/emacs/text.texi | |
parent | 744acbd384551f004a7e99885426938a633ef633 (diff) | |
download | emacs-57030b90d54af1a47508fca032da2634b8c26f4c.tar.gz |
Add buttons to outlining and tweak `C-h b' buffer
* lisp/help.el (describe-bindings-outline): Change default to t.
(describe-bindings): Tweak the look and remove the explanation.
* lisp/outline.el (outline-minor-mode-use-buttons):
(outline-minor-mode-buttons): New user options.
(outline-hide-subtree): Update buttons.
(outline--make-button, outline--make-button-overlay)
(outline--insert-open-button, outline--insert-close-button)
(outline--fix-up-all-buttons): New functions.
Diffstat (limited to 'doc/emacs/text.texi')
-rw-r--r-- | doc/emacs/text.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index dc8ca903b72..53291332d36 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -996,6 +996,13 @@ specific file (@pxref{File Variables}). major mode's special commands. (The variable @code{outline-minor-mode-prefix} controls the prefix used.) +@vindex outline-minor-mode-use-buttons + If @code{outline-minor-mode-use-buttons} is non-@code{nil}, Outline +minor mode will use buttons (at the start of the header lines) in +addition to ellipsis to show that a section is hidden. Using +@kbd{RET} (or clicking on the button with a mouse) will toggle +displaying the section. + @vindex outline-minor-mode-cycle 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 |