Variable: region-extract-function
region-extract-function is a variable defined in casefiddle.c.
Value
#[128 "\304\300\301#\207"
[cua--rectangle-region-extract
#[128 "\304\300\301#\207"
[rectangle--extract-region
#[257
"\300 \301\267\202\211\302 BC\207\211\302 |\207\303\302 #\207"
[region-beginning
#s(hash-table test eq data (bounds 8 delete-only 14))
region-end filter-buffer-substring]
6 ("simple.elc" . 53346)]
:around nil apply]
5 advice]
:around nil apply]
5 advice]
Documentation
Function to get the region's content.
Called with one argument METHOD which can be:
- nil: return the content as a string (list of strings for
non-contiguous regions).
- delete-only: delete the region; the return value is undefined.
- bounds: return the boundaries of the region as a list of one
or more cons cells of the form (START . END).
- anything else: delete the region and return its content
as a string (or list of strings for non-contiguous regions),
after filtering it with filter-buffer-substring, which
is called, for each contiguous sub-region, with METHOD as its
3rd argument.
Source Code
// Defined in /usr/src/emacs/src/casefiddle.c
DEFVAR_LISP ("region-extract-function", Vregion_extract_function,
doc: /* Function to get the region's content.
Called with one argument METHOD which can be:
- nil: return the content as a string (list of strings for
non-contiguous regions).
- `delete-only': delete the region; the return value is undefined.
- `bounds': return the boundaries of the region as a list of one
or more cons cells of the form (START . END).
- anything else: delete the region and return its content
as a string (or list of strings for non-contiguous regions),
after filtering it with `filter-buffer-substring', which
is called, for each contiguous sub-region, with METHOD as its
3rd argument. */);