Commit 520c486d authored by Eli Zaretskii's avatar Eli Zaretskii

* lisp/simple.el (region-bounds): Doc fix. (Bug#33168)

parent 9193db08
......@@ -5489,8 +5489,10 @@ also checks the value of `use-empty-active-region'."
(progn (cl-assert (mark)) t)))
(defun region-bounds ()
"Return the boundaries of the region as a pair of positions.
Value is a list of cons cells of the form (START . END)."
"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))
(defun region-noncontiguous-p ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment