Variable: mouse-drag-copy-region

mouse-drag-copy-region is a customizable variable defined in mouse.el.gz.

Value

nil

Documentation

If non-nil, copy to kill ring upon mouse adjustments of the region.

This affects mouse-save-then-kill (<mouse-3> (mouse-save-then-kill)) in addition to mouse drags.

This variable applies only to mouse adjustments in Emacs, not selecting and adjusting regions in other windows.

This variable was added, or its default value changed, in Emacs 24.1.

Probably introduced at or before Emacs version 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defcustom mouse-drag-copy-region nil
  "If non-nil, copy to kill ring upon mouse adjustments of the region.

This affects `mouse-save-then-kill' (\\[mouse-save-then-kill]) in
addition to mouse drags.

This variable applies only to mouse adjustments in Emacs, not
selecting and adjusting regions in other windows."
  :type 'boolean
  :version "24.1")