aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 23b735ed89f..123e46374a2 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -5,8 +5,8 @@ This file is part of GNU Emacs.
5 5
6GNU Emacs is free software: you can redistribute it and/or modify 6GNU Emacs is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 3 of the License, or 8the Free Software Foundation, either version 3 of the License, or (at
9(at your option) any later version. 9your option) any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of 12but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -1911,7 +1911,7 @@ DEFUN ("x-own-selection-internal", Fx_own_selection_internal,
1911 Sx_own_selection_internal, 2, 3, 0, 1911 Sx_own_selection_internal, 2, 3, 0,
1912 doc: /* Assert an X selection of type SELECTION and value VALUE. 1912 doc: /* Assert an X selection of type SELECTION and value VALUE.
1913SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. 1913SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
1914(Those are literal upper-case symbol names, since that's what X expects.) 1914\(Those are literal upper-case symbol names, since that's what X expects.)
1915VALUE is typically a string, or a cons of two markers, but may be 1915VALUE is typically a string, or a cons of two markers, but may be
1916anything that the functions on `selection-converter-alist' know about. 1916anything that the functions on `selection-converter-alist' know about.
1917 1917
@@ -1940,7 +1940,7 @@ DEFUN ("x-get-selection-internal", Fx_get_selection_internal,
1940 Sx_get_selection_internal, 2, 4, 0, 1940 Sx_get_selection_internal, 2, 4, 0,
1941 doc: /* Return text selected from some X window. 1941 doc: /* Return text selected from some X window.
1942SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'. 1942SELECTION-SYMBOL is typically `PRIMARY', `SECONDARY', or `CLIPBOARD'.
1943(Those are literal upper-case symbol names, since that's what X expects.) 1943\(Those are literal upper-case symbol names, since that's what X expects.)
1944TARGET-TYPE is the type of data desired, typically `STRING'. 1944TARGET-TYPE is the type of data desired, typically `STRING'.
1945 1945
1946TIME-STAMP is the time to use in the XConvertSelection call for foreign 1946TIME-STAMP is the time to use in the XConvertSelection call for foreign
@@ -2044,7 +2044,7 @@ DEFUN ("x-selection-owner-p", Fx_selection_owner_p, Sx_selection_owner_p,
2044 doc: /* Whether the current Emacs process owns the given X Selection. 2044 doc: /* Whether the current Emacs process owns the given X Selection.
2045The arg should be the name of the selection in question, typically one of 2045The arg should be the name of the selection in question, typically one of
2046the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'. 2046the symbols `PRIMARY', `SECONDARY', or `CLIPBOARD'.
2047(Those are literal upper-case symbol names, since that's what X expects.) 2047\(Those are literal upper-case symbol names, since that's what X expects.)
2048For convenience, the symbol nil is the same as `PRIMARY', 2048For convenience, the symbol nil is the same as `PRIMARY',
2049and t is the same as `SECONDARY'. 2049and t is the same as `SECONDARY'.
2050 2050
@@ -2620,7 +2620,7 @@ and the local selection value (whatever was given to
2620`x-own-selection-internal'). 2620`x-own-selection-internal').
2621 2621
2622The function should return the value to send to the X server 2622The function should return the value to send to the X server
2623(typically a string). A return value of nil 2623\(typically a string). A return value of nil
2624means that the conversion could not be done. 2624means that the conversion could not be done.
2625A return value which is the symbol `NULL' 2625A return value which is the symbol `NULL'
2626means that a side-effect was executed, 2626means that a side-effect was executed,
@@ -2629,10 +2629,10 @@ and there is no meaningful selection value. */);
2629 2629
2630 DEFVAR_LISP ("x-lost-selection-functions", Vx_lost_selection_functions, 2630 DEFVAR_LISP ("x-lost-selection-functions", Vx_lost_selection_functions,
2631 doc: /* A list of functions to be called when Emacs loses an X selection. 2631 doc: /* A list of functions to be called when Emacs loses an X selection.
2632(This happens when some other X client makes its own selection 2632\(This happens when some other X client makes its own selection
2633or when a Lisp program explicitly clears the selection.) 2633or when a Lisp program explicitly clears the selection.)
2634The functions are called with one argument, the selection type 2634The functions are called with one argument, the selection type
2635(a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'). */); 2635\(a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBOARD'). */);
2636 Vx_lost_selection_functions = Qnil; 2636 Vx_lost_selection_functions = Qnil;
2637 2637
2638 DEFVAR_LISP ("x-sent-selection-functions", Vx_sent_selection_functions, 2638 DEFVAR_LISP ("x-sent-selection-functions", Vx_sent_selection_functions,