]> git.eshelyaron.com Git - emacs.git/commit
New minor mode elide-head-mode
authorStefan Kangas <stefan@marxist.se>
Sun, 9 Jan 2022 10:11:47 +0000 (11:11 +0100)
committerStefan Kangas <stefan@marxist.se>
Sun, 9 Jan 2022 10:12:06 +0000 (11:12 +0100)
commit262a7c9ea0e9702cadd71146d2c9af8c75bdab35
tree9c3ae21eb5fa4e30e11e32281a464b138b70d31a
parenta2868656ab5b2e7538e55013d6bbbfc4c9a3f8af
New minor mode elide-head-mode

* lisp/elide-head.el (elide-head-mode): New minor mode.  (Bug#52980)
(elide-head--delete-overlay, elide-head--show)
(elide-head--hide): New functions factored out from ...
(elide-head, elide-head-show): ... here.  Make obsolete in favor
of elide-head-mode.
(elide-head-headers-to-hide): Doc fix.

* test/lisp/elide-head-tests.el (ert-x): Require.
(elide-head-tests-elide-head-mode)
(elide-head-tests-elide-head-mode/enable-disable)
(elide-head-tests-elide-head-mode/normal-mode)
(elide-head-tests-elide-head-mode/revert-buffer): New tests.
(elide-head--add-test): Update test to use elide-head-mode.
(elide-head-tests-elide-head)
(elide-head-tests-elide-head-with-prefix-arg)
(elide-head-tests-show): Make obsolete.
etc/NEWS
lisp/elide-head.el
test/lisp/elide-head-tests.el