Function: hs-hideable-block-p
hs-hideable-block-p is a byte-compiled function defined in
hideshow.el.gz.
Signature
(hs-hideable-block-p &optional INCLUDE-COMMENT)
Documentation
Return t if block at point is hideable.
If INCLUDE-COMMENT is non-nil, include comments first.
If there is no block at point, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-hideable-block-p (&optional include-comment)
"Return t if block at point is hideable.
If INCLUDE-COMMENT is non-nil, include comments first.
If there is no block at point, return nil."
(pcase-let ((`(,beg ,end)
(or (and include-comment
(funcall hs-inside-comment-predicate))
(hs-block-positions))))
(hs-hideable-region-p beg end)))