[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 520c486: * lisp/simple.el (region-bounds): Doc fi
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 520c486: * lisp/simple.el (region-bounds): Doc fix. (Bug#33168) |
Date: |
Sat, 27 Oct 2018 06:51:35 -0400 (EDT) |
branch: emacs-26
commit 520c486d8bc802cbc31da4455c67af4b8bb01d7b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* 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 ba39a49..0e5dadc 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 ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 520c486: * lisp/simple.el (region-bounds): Doc fix. (Bug#33168),
Eli Zaretskii <=