Function: w32--set-selection

w32--set-selection is a byte-compiled function defined in w32-win.el.gz.

Signature

(w32--set-selection TYPE VALUE)

Source Code

;; Defined in /usr/src/emacs/lisp/term/w32-win.el.gz
;;; Fix interface to (X-specific) mouse.el
(defun w32--set-selection (type value)
  (if (eq type 'CLIPBOARD)
      (w32-set-clipboard-data (string-replace "\0" "\\0" value))
    (put 'x-selections (or type 'PRIMARY) value)))