mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
editor/fold: fix void-variable hs-block-start-regexp
Which will happen if +fold/next is called before hideshow is loaded.
This commit is contained in:
@ -132,7 +132,7 @@ Targets `vimmish-fold', `hideshow' and `outline' folds."
|
||||
(cl-loop with orig-pt = (point)
|
||||
for fn
|
||||
in (list (lambda ()
|
||||
(when hs-block-start-regexp
|
||||
(when (bound-and-true-p hs-block-start-regexp)
|
||||
(car (+fold--invisible-points count))))
|
||||
(lambda ()
|
||||
(when (featurep 'vimish-fold)
|
||||
|
Reference in New Issue
Block a user