]> git.eshelyaron.com Git - emacs.git/commit
New commands to show/hide outlines by regexp (bug#49731)
authorJuri Linkov <juri@linkov.net>
Mon, 3 Jun 2024 17:18:46 +0000 (20:18 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 19:33:22 +0000 (21:33 +0200)
commit4858960e18d41a83a25c6be2e1247c264e415fec
tree98e920eda8752849aa601ce73150cb892194919a
parent2d113afece1124e5d04947d4c367451c95c7bbd3
New commands to show/hide outlines by regexp (bug#49731)

* lisp/outline.el (outline-mode-prefix-map): Bind "/ s" to
'outline-show-by-heading-regexp', and "/ h" to
'outline-hide-by-heading-regexp'.
(outline-show-by-heading-regexp)
(outline-hide-by-heading-regexp): New commands.
(outline-hidden-headings-regexp): New helper function.

(cherry picked from commit 4395f4d4530db77156b20209c1a81dce22c6e62d)
etc/NEWS
lisp/outline.el