diff options
Diffstat (limited to 'lisp/avoid.el')
-rw-r--r-- | lisp/avoid.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/avoid.el b/lisp/avoid.el index 7d69fa2a247..43e5062b76c 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el @@ -327,6 +327,9 @@ redefine this function to suit your own tastes." executing-kbd-macro ; don't check inside macro (null (cadr mp)) ; don't move unless in an Emacs frame (not (eq (car mp) (selected-frame))) + ;; Don't interfere with ongoing `mouse-drag-and-drop-region' + ;; (Bug#36269). + (eq track-mouse 'dropping) ;; Don't do anything if last event was a mouse event. ;; FIXME: this code fails in the case where the mouse was moved ;; since the last key-press but without generating any event. |