Function: gui-backend-get-selection

gui-backend-get-selection is a byte-compiled function defined in select.el.gz.

Signature

(gui-backend-get-selection SELECTION-SYMBOL TARGET-TYPE)

Documentation

Return selected text.

SELECTION-SYMBOL is typically PRIMARY, SECONDARY, or CLIPBOARD.
(Those are literal upper-case symbol names, since that's what X expects.)
TARGET-TYPE is the type of data desired, typically STRING.

Implementations

(gui-backend-get-selection TYPE DATA-TYPE (NIL ((&context . window-system) eql 'w32))) in `term/w32-win.el'.

Undocumented

(gui-backend-get-selection TYPE DATA-TYPE (NIL ((&context . window-system) eql 'nil)) (NIL ((&context terminal-parameter nil 'xterm--get-selection) eql t)) (NIL ((&context eq (terminal-parameter nil 'terminal-initted) 'terminal-init-screen) eql nil))) in `term/xterm.el'.

Undocumented

(gui-backend-get-selection SELECTION-SYMBOL TARGET-TYPE) in `select.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/select.el.gz
;;; Lower-level, backend dependent selection handling.

(cl-defgeneric gui-backend-get-selection (_selection-symbol _target-type)
  "Return selected text.
SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
\(Those are literal upper-case symbol names, since that's what X expects.)
TARGET-TYPE is the type of data desired, typically `STRING'."
  nil)