mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-31 06:12:51 -08:00
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 |
||
|---|---|---|
| .. | ||
| fold.el | ||
| hideshow.el | ||