aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse-sel.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mouse-sel.el')
-rw-r--r--lisp/mouse-sel.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el
index a327b589f54..a1209f827f1 100644
--- a/lisp/mouse-sel.el
+++ b/lisp/mouse-sel.el
@@ -737,7 +737,8 @@ If `mouse-yank-at-point' is non-nil, insert at point instead."
737 (mouse-set-point event)) 737 (mouse-set-point event))
738 (when mouse-sel-get-selection-function 738 (when mouse-sel-get-selection-function
739 (push-mark (point) 'nomsg) 739 (push-mark (point) 'nomsg)
740 (insert (or (funcall mouse-sel-get-selection-function selection) "")))) 740 (insert-for-yank
741 (or (funcall mouse-sel-get-selection-function selection) ""))))
741 742
742;;=== Handle loss of selections =========================================== 743;;=== Handle loss of selections ===========================================
743 744