From 520c486d8bc802cbc31da4455c67af4b8bb01d7b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 27 Oct 2018 13:50:34 +0300 Subject: [PATCH] * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) --- lisp/simple.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index ba39a49a44e..0e5dadc81f5 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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 () -- 2.39.5