diff options
| author | Devon Sean McCullough | 2017-09-26 10:51:04 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-29 15:50:51 +0300 |
| commit | a75ab3b3fb8ab69ef38a94403d061f88f3b5b63e (patch) | |
| tree | 05ed164ce20388a94258ee2b6af460269c0abdfe | |
| parent | c7a21430c199dca0db30db67125f38bc1795f68b (diff) | |
| download | emacs-a75ab3b3fb8ab69ef38a94403d061f88f3b5b63e.tar.gz emacs-a75ab3b3fb8ab69ef38a94403d061f88f3b5b63e.zip | |
bug#28609: simple.el
Correct grammar; also, call a pair a pair.
(cherry picked from commit 25ef543a97a80718cc4eb33734d393420a43f41e)
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 469557713d7..44728fd566a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1003,7 +1003,7 @@ Called with one argument METHOD. | |||
| 1003 | If METHOD is `delete-only', then delete the region; the return value | 1003 | If METHOD is `delete-only', then delete the region; the return value |
| 1004 | is undefined. If METHOD is nil, then return the content as a string. | 1004 | is undefined. If METHOD is nil, then return the content as a string. |
| 1005 | If METHOD is `bounds', then return the boundaries of the region | 1005 | If METHOD is `bounds', then return the boundaries of the region |
| 1006 | as a list of pairs of (START . END) positions. | 1006 | as a pair of the form (START . END) positions. |
| 1007 | If METHOD is anything else, delete the region and return its content | 1007 | If METHOD is anything else, delete the region and return its content |
| 1008 | as a string, after filtering it with `filter-buffer-substring', which | 1008 | as a string, after filtering it with `filter-buffer-substring', which |
| 1009 | is called with METHOD as its 3rd argument.") | 1009 | is called with METHOD as its 3rd argument.") |
| @@ -5473,7 +5473,8 @@ also checks the value of `use-empty-active-region'." | |||
| 5473 | (progn (cl-assert (mark)) t))) | 5473 | (progn (cl-assert (mark)) t))) |
| 5474 | 5474 | ||
| 5475 | (defun region-bounds () | 5475 | (defun region-bounds () |
| 5476 | "Return the boundaries of the region as a list of pairs of (START . END) positions." | 5476 | "Return the boundaries of the region as a pair of positions. |
| 5477 | Value is of the form (START . END)." | ||
| 5477 | (funcall region-extract-function 'bounds)) | 5478 | (funcall region-extract-function 'bounds)) |
| 5478 | 5479 | ||
| 5479 | (defun region-noncontiguous-p () | 5480 | (defun region-noncontiguous-p () |