Fix tooltip face overwriting dragged text strings during mouse DND
* lisp/mouse.el (mouse-drag-and-drop-region): Copy `text-tooltip' before showing it. Do not merge to master.
This commit is contained in:
@@ -3049,7 +3049,7 @@ is copied instead of being cut."
|
||||
|
||||
;; Show a tooltip.
|
||||
(if mouse-drag-and-drop-region-show-tooltip
|
||||
(tooltip-show text-tooltip)
|
||||
(tooltip-show (copy-sequence text-tooltip))
|
||||
(tooltip-hide))
|
||||
|
||||
;; Show cursor and highlight the original region.
|
||||
|
||||
Reference in New Issue
Block a user