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-backend-get-selection, gui-backend-set-selection, gui-backend-selection-owner-p, gui-backend-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.