projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a769cbf
)
Fix tooltip face overwriting dragged text strings during mouse DND
author
Po Lu
<luangruo@yahoo.com>
Fri, 13 May 2022 12:57:24 +0000
(20:57 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 13 May 2022 12:57:24 +0000
(20:57 +0800)
* lisp/mouse.el (mouse-drag-and-drop-region): Copy
`text-tooltip' before showing it. Do not merge to master.
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index 1b9542b9b82f9afb8627af75c121e098afb0f9f4..e5ea5475f43b497e871e2f86fc9689d81ac88025 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-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.