diff options
| author | Eli Zaretskii | 2017-09-29 15:59:17 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-09-29 15:59:17 +0300 |
| commit | 73dba0f4665768b0263050211b61fffbc2dab165 (patch) | |
| tree | 358b468501804fa7715b4a09053d6efa5f19dd4e | |
| parent | 61225964edbaa01e49a6e776af00502ab31767b5 (diff) | |
| download | emacs-73dba0f4665768b0263050211b61fffbc2dab165.tar.gz emacs-73dba0f4665768b0263050211b61fffbc2dab165.zip | |
Fix last doc string change in simple.el
* lisp/simple.el (shell-command-saved-pos)
(region-extract-function, region-bounds): Doc fixes. (Bug#28609)
| -rw-r--r-- | lisp/simple.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 469557713d7..767a3f041e9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -53,8 +53,8 @@ restores the buffer position before the command." | |||
| 53 | :version "26.1") | 53 | :version "26.1") |
| 54 | 54 | ||
| 55 | (defvar shell-command-saved-pos nil | 55 | (defvar shell-command-saved-pos nil |
| 56 | "Point position in the output buffer after command completes. | 56 | "Position of point in the output buffer after command completes. |
| 57 | It is an alist of (BUFFER . POS), where BUFFER is the output | 57 | It is a cons cell of the form (BUFFER . POS), where BUFFER is the output |
| 58 | buffer, and POS is the point position in BUFFER once the command finishes. | 58 | buffer, and POS is the point position in BUFFER once the command finishes. |
| 59 | This variable is used when `shell-command-dont-erase-buffer' is non-nil.") | 59 | This variable is used when `shell-command-dont-erase-buffer' is non-nil.") |
| 60 | 60 | ||
| @@ -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 cons cell of the form (START . END). |
| 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 a cons cell 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 () |