diff options
| author | Eli Zaretskii | 2018-10-27 14:08:40 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-10-27 14:08:40 +0300 |
| commit | df64da8eb845c9f07ee93bfbf28af41a01a2e83f (patch) | |
| tree | 15a8141909610effa199c177520d69392278ff9a | |
| parent | 520c486d8bc802cbc31da4455c67af4b8bb01d7b (diff) | |
| download | emacs-df64da8eb845c9f07ee93bfbf28af41a01a2e83f.tar.gz emacs-df64da8eb845c9f07ee93bfbf28af41a01a2e83f.zip | |
* lisp/simple.el (region-extract-function): Doc fix. (Bug#33167)
| -rw-r--r-- | lisp/simple.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 0e5dadc81f5..29bb9cbcfb9 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1011,13 +1011,16 @@ instead of deleted." | |||
| 1011 | (filter-buffer-substring (region-beginning) (region-end) method))))) | 1011 | (filter-buffer-substring (region-beginning) (region-end) method))))) |
| 1012 | "Function to get the region's content. | 1012 | "Function to get the region's content. |
| 1013 | Called with one argument METHOD which can be: | 1013 | Called with one argument METHOD which can be: |
| 1014 | - nil: return the content as a string. | 1014 | - nil: return the content as a string (list of strings for |
| 1015 | non-contiguous regions). | ||
| 1015 | - `delete-only': delete the region; the return value is undefined. | 1016 | - `delete-only': delete the region; the return value is undefined. |
| 1016 | - `bounds': return the boundaries of the region as a list of cons | 1017 | - `bounds': return the boundaries of the region as a list of one |
| 1017 | cells of the form (START . END). | 1018 | or more cons cells of the form (START . END). |
| 1018 | - anything else: delete the region and return its content | 1019 | - anything else: delete the region and return its content |
| 1019 | as a string, after filtering it with `filter-buffer-substring', which | 1020 | as a string (or list of strings for non-contiguous regions), |
| 1020 | is called with METHOD as its 3rd argument.") | 1021 | after filtering it with `filter-buffer-substring', which |
| 1022 | is called, for each contiguous sub-region, with METHOD as its | ||
| 1023 | 3rd argument.") | ||
| 1021 | 1024 | ||
| 1022 | (defvar region-insert-function | 1025 | (defvar region-insert-function |
| 1023 | (lambda (lines) | 1026 | (lambda (lines) |