Function: clipboard-yank
clipboard-yank is an interactive and byte-compiled function defined in
menu-bar.el.gz.
Signature
(clipboard-yank)
Documentation
Insert the clipboard contents, or the last stretch of killed text.
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defun clipboard-yank ()
"Insert the clipboard contents, or the last stretch of killed text."
(interactive "*")
(let ((select-enable-clipboard t)
;; Ensure that we defeat the DWIM logic in `gui-selection-value'
;; (i.e., that gui--clipboard-selection-unchanged-p returns nil).
(gui--last-selected-text-clipboard nil))
(yank)))