Function: clipboard-kill-region

clipboard-kill-region is an interactive and byte-compiled function defined in menu-bar.el.gz.

Signature

(clipboard-kill-region BEG END &optional REGION)

Documentation

Kill the region, and save it in the GUI's clipboard.

If the optional argument REGION is non-nil, the function ignores BEG and END, and kills the current region instead.

View in manual

Key Bindings

Aliases

crisp-kill-region

Source Code

;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defun clipboard-kill-region (beg end &optional region)
  "Kill the region, and save it in the GUI's clipboard.
If the optional argument REGION is non-nil, the function ignores
BEG and END, and kills the current region instead."
  (interactive "r\np")
  (let ((select-enable-clipboard t))
    (kill-region beg end region)))