* lisp/simple.el (region-extract-function): Doc fix. (Bug#33167)
This commit is contained in:
parent
520c486d8b
commit
df64da8eb8
1 changed files with 8 additions and 5 deletions
|
@ -1011,13 +1011,16 @@ instead of deleted."
|
||||||
(filter-buffer-substring (region-beginning) (region-end) method)))))
|
(filter-buffer-substring (region-beginning) (region-end) method)))))
|
||||||
"Function to get the region's content.
|
"Function to get the region's content.
|
||||||
Called with one argument METHOD which can be:
|
Called with one argument METHOD which can be:
|
||||||
- nil: return the content as a string.
|
- nil: return the content as a string (list of strings for
|
||||||
|
non-contiguous regions).
|
||||||
- `delete-only': delete the region; the return value is undefined.
|
- `delete-only': delete the region; the return value is undefined.
|
||||||
- `bounds': return the boundaries of the region as a list of cons
|
- `bounds': return the boundaries of the region as a list of one
|
||||||
cells of the form (START . END).
|
or more cons cells of the form (START . END).
|
||||||
- anything else: delete the region and return its content
|
- anything else: delete the region and return its content
|
||||||
as a string, after filtering it with `filter-buffer-substring', which
|
as a string (or list of strings for non-contiguous regions),
|
||||||
is called with METHOD as its 3rd argument.")
|
after filtering it with `filter-buffer-substring', which
|
||||||
|
is called, for each contiguous sub-region, with METHOD as its
|
||||||
|
3rd argument.")
|
||||||
|
|
||||||
(defvar region-insert-function
|
(defvar region-insert-function
|
||||||
(lambda (lines)
|
(lambda (lines)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue