Function: region-bounds

region-bounds is a byte-compiled function defined in simple.el.gz.

Signature

(region-bounds)

Documentation

Return the boundaries of the region.

Value is a list of one or more cons cells of the form (START . END). It will have more than one cons cell when the region is non-contiguous, see region-noncontiguous-p and extract-rectangle-bounds.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun region-bounds ()
  "Return the boundaries of the region.
Value is a list of one or more cons cells of the form (START . END).
It will have more than one cons cell when the region is non-contiguous,
see `region-noncontiguous-p' and `extract-rectangle-bounds'."
  (funcall region-extract-function 'bounds))