comparison src/event-Xt.c @ 5139:a48ef26d87ee

Clean up prototypes for Lisp variables/symbols. Put decls for them with the other stuff related to the file they're in. In the process, fix a few places with incorrect initialization of symbols and variables. -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-03-12 Ben Wing <ben@xemacs.org> * lisp.h: * lisp.h (redo-symbols): Removed. Put the Lisp variables and symbols where they belong, with other stuff related to the file they're in. * event-Xt.c (THIS_IS_X): * event-Xt.c (syms_of_event_Xt): * event-Xt.c (reinit_vars_of_event_Xt): * event-gtk.c: * event-gtk.c (syms_of_event_gtk): * event-gtk.c (reinit_vars_of_event_gtk): * event-stream.c: * event-stream.c (syms_of_event_stream): * event-stream.c (reinit_vars_of_event_stream): * events.c (reinit_vars_of_events): * events.c (vars_of_events): `sans-modifiers' was defsymbol'ed more than once. Move it to events-stream.c. `self-insert-command' was defsymbol'ed more than once. Vevent_resource should be staticpro_nodump()ed as it's declared in a reinit_*() method. * lread.c (vars_of_lread): Vfile_domain wasn't staticpro'ed. * minibuf.c: * minibuf.c (reinit_complex_vars_of_minibuf): Vminibuffer_zero and Vecho_area_buffer weren't staticpro'ed.
author Ben Wing <ben@xemacs.org>
date Fri, 12 Mar 2010 20:23:50 -0600
parents 5502045ec510
children 97eb4942aec8
comparison
equal deleted inserted replaced
5138:6d13ad8ed3b2 5139:a48ef26d87ee
131 void debug_process_finalization (Lisp_Process *p); 131 void debug_process_finalization (Lisp_Process *p);
132 void emacs_Xt_event_handler (Widget wid, XtPointer closure, XEvent *event, 132 void emacs_Xt_event_handler (Widget wid, XtPointer closure, XEvent *event,
133 Boolean *continue_to_dispatch); 133 Boolean *continue_to_dispatch);
134 134
135 static int last_quit_check_signal_tick_count; 135 static int last_quit_check_signal_tick_count;
136
137 Lisp_Object Qsans_modifiers;
138 136
139 #define THIS_IS_X 137 #define THIS_IS_X
140 #include "event-xlike-inc.c" 138 #include "event-xlike-inc.c"
141 139
142 140
3042 /************************************************************************/ 3040 /************************************************************************/
3043 3041
3044 void 3042 void
3045 syms_of_event_Xt (void) 3043 syms_of_event_Xt (void)
3046 { 3044 {
3047 DEFSYMBOL (Qsans_modifiers);
3048 DEFSYMBOL (Qself_insert_command);
3049 } 3045 }
3050 3046
3051 void 3047 void
3052 reinit_vars_of_event_Xt (void) 3048 reinit_vars_of_event_Xt (void)
3053 { 3049 {