Commit d3886822 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(mouse-insert-selection-internal): Use insert-for-yank, so that yank handlers

are run.
parent 91262645
2006-10-07 Johan Bockg,be(Brd <bojohan@dd.chalmers.se>
* mouse-sel.el (mouse-insert-selection-internal): Use
insert-for-yank, so that yank handlers are run.
2006-10-07 Kim F. Storm <storm@cua.dk>
 
* ido.el (ido-file-extension-aux): Fix comparison.
......
......@@ -737,7 +737,8 @@ If `mouse-yank-at-point' is non-nil, insert at point instead."
(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 ===========================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment