Variable: deactivate-mark
deactivate-mark is a buffer-local variable defined in keyboard.c.
Documentation
If an editing command sets this to t, deactivate the mark afterward.
The command loop sets this to nil before each command, and tests the value when the command returns. Buffer modification stores t in this variable.
Probably introduced at or before Emacs version 19.29.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
DEFVAR_LISP ("deactivate-mark", Vdeactivate_mark,
doc: /* If an editing command sets this to t, deactivate the mark afterward.
The command loop sets this to nil before each command,
and tests the value when the command returns.
Buffer modification stores t in this variable. */);