aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-05-05 03:00:07 +0000
committerRichard M. Stallman1995-05-05 03:00:07 +0000
commit8f4f023fe0082616ba70e0a3b88b964c4c9ef7ae (patch)
tree76863f522a657e6a232f3041bb87248b02cf765f /src
parente6c82a8d35233abd7211ba1b9dae1e1e22362d54 (diff)
downloademacs-8f4f023fe0082616ba70e0a3b88b964c4c9ef7ae.tar.gz
emacs-8f4f023fe0082616ba70e0a3b88b964c4c9ef7ae.zip
(Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist)
(Vselection_converter_alist, x_selection_timeout): Make static.
Diffstat (limited to 'src')
-rw-r--r--src/xselect.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 04141e0e99c..ee815a8878c 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -40,16 +40,15 @@ Lisp_Object QCUT_BUFFER0, QCUT_BUFFER1, QCUT_BUFFER2, QCUT_BUFFER3,
40 QCUT_BUFFER4, QCUT_BUFFER5, QCUT_BUFFER6, QCUT_BUFFER7; 40 QCUT_BUFFER4, QCUT_BUFFER5, QCUT_BUFFER6, QCUT_BUFFER7;
41#endif 41#endif
42 42
43Lisp_Object Vx_lost_selection_hooks; 43static Lisp_Object Vx_lost_selection_hooks;
44Lisp_Object Vx_sent_selection_hooks; 44static Lisp_Object Vx_sent_selection_hooks;
45 45
46/* If this is a smaller number than the max-request-size of the display, 46/* If this is a smaller number than the max-request-size of the display,
47 emacs will use INCR selection transfer when the selection is larger 47 emacs will use INCR selection transfer when the selection is larger
48 than this. The max-request-size is usually around 64k, so if you want 48 than this. The max-request-size is usually around 64k, so if you want
49 emacs to use incremental selection transfers when the selection is 49 emacs to use incremental selection transfers when the selection is
50 smaller than that, set this. I added this mostly for debugging the 50 smaller than that, set this. I added this mostly for debugging the
51 incremental transfer stuff, but it might improve server performance. 51 incremental transfer stuff, but it might improve server performance. */
52 */
53#define MAX_SELECTION_QUANTUM 0xFFFFFF 52#define MAX_SELECTION_QUANTUM 0xFFFFFF
54 53
55#ifdef HAVE_X11R4 54#ifdef HAVE_X11R4
@@ -72,22 +71,19 @@ unsigned long last_event_timestamp;
72 If there is an entry in this alist, then it can be assumed that Emacs owns 71 If there is an entry in this alist, then it can be assumed that Emacs owns
73 that selection. 72 that selection.
74 The only (eq) parts of this list that are visible from Lisp are the 73 The only (eq) parts of this list that are visible from Lisp are the
75 selection-values. 74 selection-values. */
76 */ 75static Lisp_Object Vselection_alist;
77Lisp_Object Vselection_alist;
78 76
79/* This is an alist whose CARs are selection-types (whose names are the same 77/* This is an alist whose CARs are selection-types (whose names are the same
80 as the names of X Atoms) and whose CDRs are the names of Lisp functions to 78 as the names of X Atoms) and whose CDRs are the names of Lisp functions to
81 call to convert the given Emacs selection value to a string representing 79 call to convert the given Emacs selection value to a string representing
82 the given selection type. This is for Lisp-level extension of the emacs 80 the given selection type. This is for Lisp-level extension of the emacs
83 selection handling. 81 selection handling. */
84 */ 82static Lisp_Object Vselection_converter_alist;
85Lisp_Object Vselection_converter_alist;
86 83
87/* If the selection owner takes too long to reply to a selection request, 84/* If the selection owner takes too long to reply to a selection request,
88 we give up on it. This is in milliseconds (0 = no timeout.) 85 we give up on it. This is in milliseconds (0 = no timeout.) */
89 */ 86static int x_selection_timeout;
90int x_selection_timeout;
91 87
92/* Utility functions */ 88/* Utility functions */
93 89