aboutsummaryrefslogtreecommitdiffstats
path: root/src/w16select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w16select.c')
-rw-r--r--src/w16select.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/w16select.c b/src/w16select.c
index 185bf252895..03f63bedf0d 100644
--- a/src/w16select.c
+++ b/src/w16select.c
@@ -637,14 +637,17 @@ DEFUN ("w16-get-clipboard-data", Fw16_get_clipboard_data, Sw16_get_clipboard_dat
637/* Support checking for a clipboard selection. */ 637/* Support checking for a clipboard selection. */
638 638
639DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p, 639DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p,
640 0, 1, 0, 640 0, 2, 0,
641 doc: /* Whether there is an owner for the given X Selection. 641 doc: /* Whether there is an owner for the given X selection.
642The arg should be the name of the selection in question, typically one of 642SELECTION should be the name of the selection in question, typically
643the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. 643one of the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. (X expects
644\(Those are literal upper-case symbol names, since that's what X expects.) 644these literal upper-case names.) The symbol nil is the same as
645For convenience, the symbol nil is the same as `PRIMARY', 645`PRIMARY', and t is the same as `SECONDARY'.
646and t is the same as `SECONDARY'. */) 646
647 (Lisp_Object selection) 647TERMINAL should be a terminal object or a frame specifying the X
648server to query. If omitted or nil, that stands for the selected
649frame's display, or the first available X display. */)
650 (Lisp_Object selection, Lisp_Object terminal)
648{ 651{
649 CHECK_SYMBOL (selection); 652 CHECK_SYMBOL (selection);
650 653