Function: term-mouse-paste

term-mouse-paste is an interactive and byte-compiled function defined in term.el.gz.

Signature

(term-mouse-paste CLICK)

Documentation

Insert the primary selection at the position clicked on.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-mouse-paste (click)
  "Insert the primary selection at the position clicked on."
  (interactive "e")
  ;; Give temporary modes such as isearch a chance to turn off.
  (run-hooks 'mouse-leave-buffer-hook)
  (setq this-command 'yank)
  (mouse-set-point click)
  (term-send-raw-string (gui-get-primary-selection)))