aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-10-27 13:50:34 +0300
committerEli Zaretskii2018-10-27 13:50:34 +0300
commit520c486d8bc802cbc31da4455c67af4b8bb01d7b (patch)
treefc0006182154c1b3dbb06b501936a977f1c479cf
parent9193db08dea945eb18790f9f9381b9e6317f13fd (diff)
downloademacs-520c486d8bc802cbc31da4455c67af4b8bb01d7b.tar.gz
emacs-520c486d8bc802cbc31da4455c67af4b8bb01d7b.zip
* lisp/simple.el (region-bounds): Doc fix. (Bug#33168)
-rw-r--r--lisp/simple.el6
1 files 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'."
5489 (progn (cl-assert (mark)) t))) 5489 (progn (cl-assert (mark)) t)))
5490 5490
5491(defun region-bounds () 5491(defun region-bounds ()
5492 "Return the boundaries of the region as a pair of positions. 5492 "Return the boundaries of the region.
5493Value is a list of cons cells of the form (START . END)." 5493Value is a list of one or more cons cells of the form (START . END).
5494It will have more than one cons cell when the region is non-contiguous,
5495see `region-noncontiguous-p' and `extract-rectangle-bounds'."
5494 (funcall region-extract-function 'bounds)) 5496 (funcall region-extract-function 'bounds))
5495 5497
5496(defun region-noncontiguous-p () 5498(defun region-noncontiguous-p ()