Variable: mouse-drag-and-drop-region-cut-when-buffers-differ

mouse-drag-and-drop-region-cut-when-buffers-differ is a customizable variable defined in mouse.el.gz.

Value

nil

Documentation

If non-nil, cut text also when source and destination buffers differ.

If this option is nil, mouse-drag-and-drop-region(var)/mouse-drag-and-drop-region(fun) will leave the text in the source buffer alone when dropping it in a different buffer. If this is non-nil, it will cut the text just as it does when dropping text in the source buffer.

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

View in manual

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defcustom mouse-drag-and-drop-region-cut-when-buffers-differ nil
  "If non-nil, cut text also when source and destination buffers differ.
If this option is nil, `mouse-drag-and-drop-region' will leave
the text in the source buffer alone when dropping it in a
different buffer.  If this is non-nil, it will cut the text just
as it does when dropping text in the source buffer."
  :type 'boolean
  :version "26.1")