Files
Prashant Vithani 6010b40247 fix(fold): Use function variables over direct func
Replace direct calls to `hs-looking-at-block-start-p` and
`hs-find-block-beginning` with their corresponding function variables to
ensure compatibility with hideshow mode's configurable function
handling.

These function variables are set in [`treesit` in Emacs 31][1]. It broke
fold because `hs-block-start-regexp` is set to `nil` explicitly by
treesit overrides.

The default for `hs-looking-at-block-start-p-func` and
`hs-find-block-beginning-func` are same as what was being called before.

Ref:
[1]: 2e3b085d44
2025-07-01 14:28:46 +02:00
..
2025-06-12 17:10:28 +02:00
2025-06-12 17:10:28 +02:00
2024-09-14 20:47:39 -04:00
2025-03-25 14:16:56 -04:00
2024-09-14 20:47:39 -04:00
2025-03-25 14:16:56 -04:00
2024-09-14 20:47:39 -04:00
2025-06-12 17:10:28 +02:00
2025-06-12 17:10:28 +02:00
2024-09-14 20:47:39 -04:00

:editor

Description

For modules concerned with the insertion and editing of text. Amen.

Frequently asked questions

This category has no FAQs yet. Ask one?