comparison src/xselect.c @ 112374:4d90cea362a3

Fix X11 compilation failure. * globals.h (struct emacs_globals): Document f_Vselection_alist. * xselect.c (Vselection_alist): Remove declaration, moving its documentation to globals.h. This fixes a compilation failure induced by the earlier change to globals.h today.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 19 Jan 2011 15:32:42 -0800
parents 42e22c4f06b7
children 9de5a68b57e1
comparison
equal deleted inserted replaced
112373:f279fb6c0f32 112374:4d90cea362a3
125 125
126 /* The timestamp of the last input event Emacs received from the X server. */ 126 /* The timestamp of the last input event Emacs received from the X server. */
127 /* Defined in keyboard.c. */ 127 /* Defined in keyboard.c. */
128 extern unsigned long last_event_timestamp; 128 extern unsigned long last_event_timestamp;
129 129
130 /* This is an association list whose elements are of the form
131 ( SELECTION-NAME SELECTION-VALUE SELECTION-TIMESTAMP FRAME)
132 SELECTION-NAME is a lisp symbol, whose name is the name of an X Atom.
133 SELECTION-VALUE is the value that emacs owns for that selection.
134 It may be any kind of Lisp object.
135 SELECTION-TIMESTAMP is the time at which emacs began owning this selection,
136 as a cons of two 16-bit numbers (making a 32 bit time.)
137 FRAME is the frame for which we made the selection.
138 If there is an entry in this alist, then it can be assumed that Emacs owns
139 that selection.
140 The only (eq) parts of this list that are visible from Lisp are the
141 selection-values. */
142 static Lisp_Object Vselection_alist;
143
144 130
145 131
146 /* Define a queue to save up SELECTION_REQUEST_EVENT events for later 132 /* Define a queue to save up SELECTION_REQUEST_EVENT events for later
147 handling. */ 133 handling. */
148 134
2698 staticpro (&Qcompound_text_with_extensions); 2684 staticpro (&Qcompound_text_with_extensions);
2699 2685
2700 Qforeign_selection = intern_c_string ("foreign-selection"); 2686 Qforeign_selection = intern_c_string ("foreign-selection");
2701 staticpro (&Qforeign_selection); 2687 staticpro (&Qforeign_selection);
2702 } 2688 }
2703