Function: hs-hideable-region-p

hs-hideable-region-p is a byte-compiled function defined in hideshow.el.gz.

Signature

(hs-hideable-region-p BEG END)

Documentation

Return t if region between BEG and END can be hidden.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defun hs-hideable-region-p (beg end)
  "Return t if region between BEG and END can be hidden."
  ;; Check if BEG and END are not in the same line number,
  ;; since using `count-lines' is slow.
  (and beg end
       (< beg (save-excursion (goto-char end) (pos-bol)))))