emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 98a37e6: lisp/simple.el: Indicate when a list of


From: John Wiegley
Subject: [Emacs-diffs] emacs-26 98a37e6: lisp/simple.el: Indicate when a list of pairs is meant in a docstring
Date: Tue, 26 Sep 2017 15:37:19 -0400 (EDT)

branch: emacs-26
commit 98a37e60142340b9c2b4e6b17c373f4ae6a2d8b4
Author: John Wiegley <address@hidden>
Commit: John Wiegley <address@hidden>

    lisp/simple.el: Indicate when a list of pairs is meant in a docstring
---
 lisp/simple.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index d21b15d..4695577 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1003,7 +1003,7 @@ Called with one argument METHOD.
 If METHOD is `delete-only', then delete the region; the return value
 is undefined.  If METHOD is nil, then return the content as a string.
 If METHOD is `bounds', then return the boundaries of the region
-as a pair of (START . END) positions.
+as a list of pairs of (START . END) positions.
 If METHOD is anything else, delete the region and return its content
 as a string, after filtering it with `filter-buffer-substring', which
 is called with METHOD as its 3rd argument.")
@@ -5473,7 +5473,7 @@ 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 (START . END) positions."
+  "Return the boundaries of the region as a list of pairs of (START . END) 
positions."
   (funcall region-extract-function 'bounds))
 
 (defun region-noncontiguous-p ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]