doomemacs/modules/editor/fold/autoload
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]: https://github.com/emacs-mirror/emacs/commits/2e3b085d447bc2cd1a0e779145be9cab9a15d7af
2025-07-01 14:28:46 +02:00
..
fold.el fix(fold): Use function variables over direct func 2025-07-01 14:28:46 +02:00
hideshow.el refactor: replace point-at-{b,e}ol 2025-01-08 19:33:38 -05:00