summaryrefslogtreecommitdiff
path: root/src/w16select.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-02-11 11:38:41 +0200
committerEli Zaretskii <eliz@gnu.org>2012-02-11 11:38:41 +0200
commit90b671e27414c98e98258e127098922481c1c061 (patch)
tree0d1a158bcde6c490572c1ad0a4fa4ef49e565340 /src/w16select.c
parent355cabc6c7c568a89a464c89c3110db4194ec08a (diff)
downloademacs-90b671e27414c98e98258e127098922481c1c061.tar.gz
Sync MS-DOS selection-related doc strings with X doc strings.
lisp/term/pc-win.el (x-select-text, x-selection-owner-p) (x-own-selection-internal, x-disown-selection-internal) (x-get-selection-internal): Sync doc strings and argument lists with xselect.c, common-win.el and x-win.el. (Bug#10783) src/w16select.c (Fx_selection_exists_p): Sync doc string with xselect.c. (Bug#10783)
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
/* Support checking for a clipboard selection. */
DEFUN ("x-selection-exists-p", Fx_selection_exists_p, Sx_selection_exists_p,
- 0, 1, 0,
- doc: /* Whether there is an owner for the given X Selection.
-The arg should be the name of the selection in question, typically one of
-the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
-\(Those are literal upper-case symbol names, since that's what X expects.)
-For convenience, the symbol nil is the same as `PRIMARY',
-and t is the same as `SECONDARY'. */)
- (Lisp_Object selection)
+ 0, 2, 0,
+ doc: /* Whether there is an owner for the given X selection.
+SELECTION should be the name of the selection in question, typically
+one of the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. (X expects
+these literal upper-case names.) The symbol nil is the same as
+`PRIMARY', and t is the same as `SECONDARY'.
+
+TERMINAL should be a terminal object or a frame specifying the X
+server to query. If omitted or nil, that stands for the selected
+frame's display, or the first available X display. */)
+ (Lisp_Object selection, Lisp_Object terminal)
{
CHECK_SYMBOL (selection);