From: Eli Zaretskii Date: Sat, 27 Oct 2018 10:50:34 +0000 (+0300) Subject: * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) X-Git-Tag: emacs-26.1.90~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=520c486d8bc802cbc31da4455c67af4b8bb01d7b;p=emacs.git * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) --- 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 ()