]> git.eshelyaron.com Git - emacs.git/commit
Extend Outline mode with default visibility state
authorMatthias Meulien <orontee@gmail.com>
Sun, 16 Jan 2022 18:13:21 +0000 (20:13 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 16 Jan 2022 18:13:21 +0000 (20:13 +0200)
commit5c30c8778dffb647528d2144e00a48eaf723416e
treedfd2ff9dd3aba7b62f8ac2fcd9c3d628ab25a1d4
parent8f652465238aff062851a1f8bf1d76f5503ac1a9
Extend Outline mode with default visibility state

* etc/NEWS: Announce support for default visibility state (bug#51809).

* lisp/outline.el (outline-mode, outline-minor-mode): Ensure default
visibility state is applied with outline-apply-default-state.
(outline-default-state, outline-default-rules)
(outline-default-long-line, outline-default-line-count): New defcustoms.
(outline-apply-default-state, outline-show-only-headings)
(outline--show-headings-up-to-level): New functions.
etc/NEWS
lisp/outline.el