Variable: saved-region-selection

saved-region-selection is a variable defined in keyboard.c.

Value

nil

Documentation

Contents of active region prior to buffer modification.

If select-active-regions is non-nil, Emacs sets this to the text in the region before modifying the buffer. The next call to the function deactivate-mark(var)/deactivate-mark(fun) uses this to set the window selection.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_LISP ("saved-region-selection",
	       Vsaved_region_selection,
	       doc: /* Contents of active region prior to buffer modification.
If `select-active-regions' is non-nil, Emacs sets this to the
text in the region before modifying the buffer.  The next call to
the function `deactivate-mark' uses this to set the window selection.  */);