/[emacs]/emacs/src/keyboard.c
ViewVC logotype

Diff of /emacs/src/keyboard.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.681.2.20 by miles, Sat Sep 4 09:21:46 2004 UTC revision 1.681.2.21 by miles, Sat Sep 4 09:26:25 2004 UTC
# Line 3899  kbd_buffer_get_event (kbp, used_mouse_me Line 3899  kbd_buffer_get_event (kbp, used_mouse_me
3899          break;          break;
3900  #endif  #endif
3901        {        {
3902          Lisp_Object minus_one;          wait_reading_process_output (0, 0, -1, 1, Qnil, NULL, 0);
   
         XSETINT (minus_one, -1);  
         wait_reading_process_input (0, 0, minus_one, 1);  
3903    
3904          if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr)          if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr)
3905            /* Pass 1 for EXPECT since we just waited to have input.  */            /* Pass 1 for EXPECT since we just waited to have input.  */
# Line 9920  clear_input_pending () Line 9917  clear_input_pending ()
9917  }  }
9918    
9919  /* Return nonzero if there are pending requeued events.  /* Return nonzero if there are pending requeued events.
9920     This isn't used yet.  The hope is to make wait_reading_process_input     This isn't used yet.  The hope is to make wait_reading_process_output
9921     call it, and return if it runs Lisp code that unreads something.     call it, and return if it runs Lisp code that unreads something.
9922     The problem is, kbd_buffer_get_event needs to be fixed to know what     The problem is, kbd_buffer_get_event needs to be fixed to know what
9923     to do in that case.  It isn't trivial.  */     to do in that case.  It isn't trivial.  */

Legend:
Removed from v.1.681.2.20  
changed lines
  Added in v.1.681.2.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26