Function: mouse-yank-secondary
mouse-yank-secondary is an interactive and byte-compiled function
defined in mouse.el.gz.
Signature
(mouse-yank-secondary CLICK)
Documentation
Insert the secondary selection at the position clicked on.
Move point to the end of the inserted text.
If mouse-yank-at-point is non-nil, insert at point
regardless of where you click.
Probably introduced at or before Emacs version 19.22.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defun mouse-yank-secondary (click)
"Insert the secondary selection at the position clicked on.
Move point to the end of the inserted text.
If `mouse-yank-at-point' is non-nil, insert at point
regardless of where you click."
(interactive "e")
;; Give temporary modes such as isearch a chance to turn off.
(run-hooks 'mouse-leave-buffer-hook)
(or mouse-yank-at-point (mouse-set-point click))
(let ((secondary (gui-get-selection 'SECONDARY)))
(if secondary
(insert-for-yank secondary)
(error "No secondary selection"))))