[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 a75ab3b: bug#28609: simple.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 a75ab3b: bug#28609: simple.el |
Date: |
Fri, 29 Sep 2017 08:51:49 -0400 (EDT) |
branch: emacs-26
commit a75ab3b3fb8ab69ef38a94403d061f88f3b5b63e
Author: Devon Sean McCullough <address@hidden>
Commit: Eli Zaretskii <address@hidden>
bug#28609: simple.el
Correct grammar; also, call a pair a pair.
(cherry picked from commit 25ef543a97a80718cc4eb33734d393420a43f41e)
---
lisp/simple.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index 4695577..44728fd 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 list of pairs of (START . END) positions.
+as a pair of the form (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,8 @@ 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 list of pairs of (START . END)
positions."
+ "Return the boundaries of the region as a pair of positions.
+Value is of the form (START . END)."
(funcall region-extract-function 'bounds))
(defun region-noncontiguous-p ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 a75ab3b: bug#28609: simple.el,
Eli Zaretskii <=