]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (kbd_buffer_get_event): Read special events also in
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 14 May 2012 07:05:03 +0000 (09:05 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 14 May 2012 07:05:03 +0000 (09:05 +0200)
batch mode.  (Bug#11415)

src/ChangeLog
src/keyboard.c

index c5083cd6e4641f6c8c766b244bbe6de7f86ed78f..8b29c10c38da6405111d4b835cddbddee989110a 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-14  Michael Albinus  <michael.albinus@gmx.de>
+
+       * keyboard.c (kbd_buffer_get_event): Read special events also in
+       batch mode.  (Bug#11415)
+
 2012-05-12  Glenn Morris  <rgm@gnu.org>
 
        * ns.mk: Update for ns_appbindir no longer having trailing "/".
index fcd5c0e683717fd279c0402c323d3a2beca93fe0..289dc300835c5e0d0b8b38970e9bb4fae8f7503e 100644 (file)
@@ -3803,6 +3803,7 @@ kbd_buffer_get_event (KBOARD **kbp,
     }
 #endif /* subprocesses */
 
+#ifndef HAVE_DBUS  /* We want to read D-Bus events in batch mode.  */
   if (noninteractive
       /* In case we are running as a daemon, only do this before
         detaching from the terminal.  */
@@ -3813,6 +3814,7 @@ kbd_buffer_get_event (KBOARD **kbp,
       *kbp = current_kboard;
       return obj;
     }
+#endif /* ! HAVE_DBUS  */
 
   /* Wait until there is input available.  */
   for (;;)