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:
parent
d1cef7e498
commit
3a89c3f79d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue