# HG changeset patch # User Juanma Barranquero # Date 1090085493 0 # Node ID 04a216bfa9316dcb26bd7874acbc27df23ffc59f # Parent 9459300bf43b4d99c4b9361f54aea0618194e093 (not_single_kboard_state): Do nothing unless MULTI_KBOARD is defined. diff -r 9459300bf43b -r 04a216bfa931 src/keyboard.c --- a/src/keyboard.c Sat Jul 17 17:28:43 2004 +0000 +++ b/src/keyboard.c Sat Jul 17 17:31:33 2004 +0000 @@ -1096,8 +1096,10 @@ not_single_kboard_state (kboard) KBOARD *kboard; { +#ifdef MULTI_KBOARD if (kboard == current_kboard) single_kboard = 0; +#endif } /* Maintain a stack of kboards, so other parts of Emacs @@ -10203,7 +10205,7 @@ /* Anything we have read ahead, put back for the shell to read. */ /* ?? What should this do when we have multiple keyboards?? Should we ignore anything that was typed in at the "wrong" kboard? - + rms: we should stuff everything back into the kboard it came from. */ for (; kbd_fetch_ptr != kbd_store_ptr; kbd_fetch_ptr++)