emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108223: * keyboard.c (kbd_buffer_get


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108223: * keyboard.c (kbd_buffer_get_event): Read special events also in
Date: Mon, 14 May 2012 09:05:03 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 108223
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Mon 2012-05-14 09:05:03 +0200
message:
  * keyboard.c (kbd_buffer_get_event): Read special events also in
  batch mode.  (Bug#11415)
modified:
  src/ChangeLog
  src/keyboard.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-05-12 18:10:37 +0000
+++ b/src/ChangeLog     2012-05-14 07:05:03 +0000
@@ -1,3 +1,8 @@
+2012-05-14  Michael Albinus  <address@hidden>
+
+       * keyboard.c (kbd_buffer_get_event): Read special events also in
+       batch mode.  (Bug#11415)
+
 2012-05-12  Glenn Morris  <address@hidden>
 
        * ns.mk: Update for ns_appbindir no longer having trailing "/".

=== modified file 'src/keyboard.c'
--- a/src/keyboard.c    2012-05-07 16:09:51 +0000
+++ b/src/keyboard.c    2012-05-14 07:05:03 +0000
@@ -3803,6 +3803,7 @@
     }
 #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 @@
       *kbp = current_kboard;
       return obj;
     }
+#endif /* ! HAVE_DBUS  */
 
   /* Wait until there is input available.  */
   for (;;)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]