Problem: Yanking (middle-click) in mouse-sel-mode doesn't run yank handlers.

Fix:

2006-10-03  Johan Bockgård  <[EMAIL PROTECTED]>

        * mouse-sel.el (mouse-insert-selection-internal): Use
        insert-for-yank.

--- mouse-sel.el        15 Sep 2006 14:10:04 +0200      1.48
+++ mouse-sel.el        03 Oct 2006 15:42:28 +0200      
@@ -737,7 +737,8 @@
     (mouse-set-point event))
   (when mouse-sel-get-selection-function
     (push-mark (point) 'nomsg)
-    (insert (or (funcall mouse-sel-get-selection-function selection) ""))))
+    (insert-for-yank (or (funcall mouse-sel-get-selection-function selection)
+                        ""))))
 
 ;;=== Handle loss of selections ===========================================
 


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to