aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32select.c
diff options
context:
space:
mode:
authorJoakim Verona2012-02-15 15:12:49 +0100
committerJoakim Verona2012-02-15 15:12:49 +0100
commit02db17e53bf46c91b2cb8ee33b43d8ae252a1681 (patch)
treefcafa961e884648e15524130f1dbca55dc7093d0 /src/w32select.c
parent736ab04e2752e7c3c5b5070a0d62279dcfb12b27 (diff)
parent1deeb569b1247db4c0b2eea4906a9e53e5ee7e99 (diff)
downloademacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.tar.gz
emacs-02db17e53bf46c91b2cb8ee33b43d8ae252a1681.zip
upstream
Diffstat (limited to 'src/w32select.c')
-rw-r--r--src/w32select.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/w32select.c b/src/w32select.c
index c60376b3a91..699c72b71a8 100644
--- a/src/w32select.c
+++ b/src/w32select.c
@@ -1009,14 +1009,17 @@ DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data,
1009/* Support checking for a clipboard selection. */ 1009/* Support checking for a clipboard selection. */
1010 1010
1011DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p, 1011DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p,
1012 0, 1, 0, 1012 0, 2, 0,
1013 doc: /* Whether there is an owner for the given X Selection. 1013 doc: /* Whether there is an owner for the given X selection.
1014The arg should be the name of the selection in question, typically one of 1014SELECTION should be the name of the selection in question, typically
1015the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. 1015one of the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. (X expects
1016\(Those are literal upper-case symbol names, since that's what X expects.) 1016these literal upper-case names.) The symbol nil is the same as
1017For convenience, the symbol nil is the same as `PRIMARY', 1017`PRIMARY', and t is the same as `SECONDARY'.
1018and t is the same as `SECONDARY'. */) 1018
1019 (Lisp_Object selection) 1019TERMINAL should be a terminal object or a frame specifying the X
1020server to query. If omitted or nil, that stands for the selected
1021frame's display, or the first available X display. */)
1022 (Lisp_Object selection, Lisp_Object terminal)
1020{ 1023{
1021 CHECK_SYMBOL (selection); 1024 CHECK_SYMBOL (selection);
1022 1025