Function: mouse-kill-ring-save

mouse-kill-ring-save is an interactive and byte-compiled function defined in mouse.el.gz.

Signature

(mouse-kill-ring-save CLICK)

Documentation

Copy the region between point and the mouse click in the kill ring.

This does not delete the region; it acts like M-w (kill-ring-save).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/mouse.el.gz
(defun mouse-kill-ring-save (click)
  "Copy the region between point and the mouse click in the kill ring.
This does not delete the region; it acts like \\[kill-ring-save]."
  (interactive "e")
  (mouse-set-mark-fast click)
  (let (this-command last-command)
    (kill-ring-save (point) (mark t))))