Homepage: https://www.gnu.org/software/emacs
Lisp portion of standard selection support
Based partially on earlier release by Lucid. The functionality here is divided in two parts: - Low-level: gui-get-selection, gui-set-selection, gui-selection-owner-p, gui-selection-exists-p are the backend-dependent functions meant to access various kinds of selections (CLIPBOARD, PRIMARY, SECONDARY). - Higher-level: gui-select-text and gui-selection-value go together to access the general notion of "GUI selection" for interoperation with other applications. This can use either the clipboard or the primary selection, or both or none according to select-enable-clipboard/primary. These are the default values of interprogram-cut/paste-function. Additionally, there's gui-get-primary-selection which is used to get the PRIMARY selection, specifically for mouse-yank-primary.