/[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.783 by miles, Wed Jul 14 22:42:44 2004 UTC revision 1.784 by rms, Sat Jul 17 14:50:58 2004 UTC
# Line 1089  single_kboard_state () Line 1089  single_kboard_state ()
1089  #endif  #endif
1090  }  }
1091    
1092    /* If we're in single_kboard state for kboard KBOARD,
1093       get out of it.  */
1094    
1095    void
1096    not_single_kboard_state (kboard)
1097         KBOARD *kboard;
1098    {
1099      if (kboard == current_kboard)
1100        single_kboard = 0;
1101    }
1102    
1103  /* Maintain a stack of kboards, so other parts of Emacs  /* Maintain a stack of kboards, so other parts of Emacs
1104     can switch temporarily to the kboard of a given frame     can switch temporarily to the kboard of a given frame
1105     and then revert to the previous status.  */     and then revert to the previous status.  */
# Line 10175  void Line 10186  void
10186  stuff_buffered_input (stuffstring)  stuff_buffered_input (stuffstring)
10187       Lisp_Object stuffstring;       Lisp_Object stuffstring;
10188  {  {
10189  /* stuff_char works only in BSD, versions 4.2 and up.  */  #ifdef SIGTSTP  /* stuff_char is defined if SIGTSTP.  */
 #ifdef BSD_SYSTEM  
 #ifndef BSD4_1  
10190    register unsigned char *p;    register unsigned char *p;
10191    
10192    if (STRINGP (stuffstring))    if (STRINGP (stuffstring))
# Line 10193  stuff_buffered_input (stuffstring) Line 10202  stuff_buffered_input (stuffstring)
10202    
10203    /* Anything we have read ahead, put back for the shell to read.  */    /* Anything we have read ahead, put back for the shell to read.  */
10204    /* ?? What should this do when we have multiple keyboards??    /* ?? What should this do when we have multiple keyboards??
10205       Should we ignore anything that was typed in at the "wrong" kboard?  */       Should we ignore anything that was typed in at the "wrong" kboard?
10206        
10207         rms: we should stuff everything back into the kboard
10208         it came from.  */
10209    for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++)    for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++)
10210      {      {
10211    
# Line 10206  stuff_buffered_input (stuffstring) Line 10218  stuff_buffered_input (stuffstring)
10218      }      }
10219    
10220    input_pending = 0;    input_pending = 0;
10221  #endif  #endif /* SIGTSTP */
 #endif /* BSD_SYSTEM and not BSD4_1 */  
10222  }  }
10223    
10224  void  void

Legend:
Removed from v.1.783  
changed lines
  Added in v.1.784

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