From: Michael Albinus Date: Mon, 14 May 2012 07:05:03 +0000 (+0200) Subject: * keyboard.c (kbd_buffer_get_event): Read special events also in X-Git-Tag: emacs-24.2.90~471^2~92 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d0a235ab25062a5a0c66a292cfc54366bb75f74;p=emacs.git * keyboard.c (kbd_buffer_get_event): Read special events also in batch mode. (Bug#11415) --- diff --git a/src/ChangeLog b/src/ChangeLog index c5083cd6e46..8b29c10c38d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-05-14 Michael Albinus + + * keyboard.c (kbd_buffer_get_event): Read special events also in + batch mode. (Bug#11415) + 2012-05-12 Glenn Morris * ns.mk: Update for ns_appbindir no longer having trailing "/". diff --git a/src/keyboard.c b/src/keyboard.c index fcd5c0e6837..289dc300835 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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 (;;)