1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-22 14:52:34 -07:00
emacs/doc
Elías Gabriel Pérez c911495fb1 hideshow: New minor mode 'hs-indentation-mode'. (Bug#80179)
This minor mode configures hs-minor-mode to use
indentation-based folding.

* lisp/progmodes/hideshow.el (hs-hideable-block-p): New
function.
(hs-indentation-respect-end-block): New option.
(hs-indentation--store-vars): New variable.
(hs-cycle-filter, hs-get-first-block-on-line, hs-get-near-block)
(hs-find-block-beg-fn--default): Adapt code to use
'hs-hideable-block-p'.
(hs-block-positions): Update.
(hs-indentation-mode): New minor mode.

* doc/emacs/programs.texi (Hideshow): Update documentation.

* etc/NEWS: Announce changes

* test/lisp/progmodes/hideshow-tests.el: Add 'require'.
(hideshow-check-indentation-folding): New test.
2026-03-19 17:11:54 +02:00
..
emacs hideshow: New minor mode 'hs-indentation-mode'. (Bug#80179) 2026-03-19 17:11:54 +02:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (Lists diagrammed): Fix last change. 2026-03-08 14:57:34 +02:00
lispref Merge remote-tracking branch 'origin/scratch/error-API' 2026-03-15 17:17:21 -04:00
man ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
misc Give an example of how to use use-package+:vc without :rev 2026-03-13 23:50:05 +01:00
translations ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00