diff options
| author | John Wiegley | 2017-09-26 12:35:52 -0700 |
|---|---|---|
| committer | John Wiegley | 2017-09-26 12:37:13 -0700 |
| commit | 98a37e60142340b9c2b4e6b17c373f4ae6a2d8b4 (patch) | |
| tree | deba5ce8f7a403f22a0ce206fc35d34dcf3c02d5 | |
| parent | 1e5949642a19a21fd9d47f66c66fd4d3bd99e910 (diff) | |
| download | emacs-98a37e60142340b9c2b4e6b17c373f4ae6a2d8b4.tar.gz emacs-98a37e60142340b9c2b4e6b17c373f4ae6a2d8b4.zip | |
lisp/simple.el: Indicate when a list of pairs is meant in a docstring
| -rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index d21b15d5314..469557713d7 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 pair of (START . END) positions. | 1006 | as a list of pairs of (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,7 @@ 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 pair of (START . END) positions." | 5476 | "Return the boundaries of the region as a list of pairs of (START . END) positions." |
| 5477 | (funcall region-extract-function 'bounds)) | 5477 | (funcall region-extract-function 'bounds)) |
| 5478 | 5478 | ||
| 5479 | (defun region-noncontiguous-p () | 5479 | (defun region-noncontiguous-p () |