(not_single_kboard_state): Do nothing unless MULTI_KBOARD is defined.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 17 Jul 2004 17:33:05 +0000 (17:33 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 17 Jul 2004 17:33:05 +0000 (17:33 +0000)
src/ChangeLog
src/keyboard.c

index 253b3ce..9765ec9 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-17  Juanma Barranquero  <lektu@terra.es>
+
+       * keyboard.c (not_single_kboard_state): Do nothing unless
+       MULTI_KBOARD is defined.
+
 2004-07-17  Richard M. Stallman  <rms@gnu.org>
 
        * window.c (coordinates_in_window): Inside the window but outside
index aa2bdbd..de63569 100644 (file)
@@ -1096,8 +1096,10 @@ void
 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 @@ stuff_buffered_input (stuffstring)
   /* 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++)