Variable: delete-active-region
delete-active-region is a customizable variable defined in
simple.el.gz.
Value
t
Documentation
Whether single-char deletion commands delete an active region.
This has an effect only if Transient Mark mode is enabled, and
affects delete-forward-char and delete-backward-char, though
not delete-char.
If the value is the symbol kill, the active region is killed
instead of deleted.
This variable was added, or its default value changed, in Emacs 24.1.
Probably introduced at or before Emacs version 24.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom delete-active-region t
"Whether single-char deletion commands delete an active region.
This has an effect only if Transient Mark mode is enabled, and
affects `delete-forward-char' and `delete-backward-char', though
not `delete-char'.
If the value is the symbol `kill', the active region is killed
instead of deleted."
:type '(choice (const :tag "Delete active region" t)
(const :tag "Kill active region" kill)
(const :tag "Do ordinary deletion" nil))
:group 'killing
:version "24.1")