comparison src/event-stream.c @ 3025:facf3239ba30

[xemacs-hg @ 2005-10-25 11:16:19 by ben] rename new->new_, convert 'foo to `foo' EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_. 'foo -> `foo'. lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings. lwlib.c, xlwtabs.c: new -> new_.
author ben
date Tue, 25 Oct 2005 11:16:49 +0000
parents b95fe16005fd
children d674024a8674 3742ea8250b5
comparison
equal deleted inserted replaced
3024:b7f26b2f78bd 3025:facf3239ba30
3080 event_stream->unselect_process_cb to be run if appropriate. 3080 event_stream->unselect_process_cb to be run if appropriate.
3081 Otherwise, dead fds may be selected for, and we will get a 3081 Otherwise, dead fds may be selected for, and we will get a
3082 continuous stream of process events for them. Since we don't 3082 continuous stream of process events for them. Since we don't
3083 return until all process events have been flushed, we would 3083 return until all process events have been flushed, we would
3084 get stuck here, processing events on a process whose status 3084 get stuck here, processing events on a process whose status
3085 was 'exit. Call this after dispatch-event, or the fds will 3085 was `exit'. Call this after dispatch-event, or the fds will
3086 have been closed before we read the last data from them. 3086 have been closed before we read the last data from them.
3087 It's safe for the filter to signal an error because 3087 It's safe for the filter to signal an error because
3088 status_notify() will be called on return to top-level. 3088 status_notify() will be called on return to top-level.
3089 */ 3089 */
3090 status_notify (); 3090 status_notify ();
3890 } 3890 }
3891 3891
3892 static void 3892 static void
3893 push_this_command_keys (Lisp_Object event) 3893 push_this_command_keys (Lisp_Object event)
3894 { 3894 {
3895 Lisp_Object new = Fmake_event (Qnil, Qnil); 3895 Lisp_Object new_ = Fmake_event (Qnil, Qnil);
3896 3896
3897 Fcopy_event (event, new); 3897 Fcopy_event (event, new_);
3898 enqueue_event (new, &Vthis_command_keys, &Vthis_command_keys_tail); 3898 enqueue_event (new_, &Vthis_command_keys, &Vthis_command_keys_tail);
3899 } 3899 }
3900 3900
3901 /* The following two functions are used in call-interactively, 3901 /* The following two functions are used in call-interactively,
3902 for the @ and e specifications. We used to just use 3902 for the @ and e specifications. We used to just use
3903 `current-mouse-event' (i.e. the last mouse event in this-command-keys), 3903 `current-mouse-event' (i.e. the last mouse event in this-command-keys),