mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00:00
(kbd_buffer_get_event): Follow the non-interactive
case when running as a daemon before detaching.
This commit is contained in:
parent
c8d6b4bc1e
commit
a3b1a46831
@ -1,3 +1,8 @@
|
||||
2008-12-04 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* keyboard.c (kbd_buffer_get_event): Follow the non-interactive
|
||||
case when running as a daemon before detaching.
|
||||
|
||||
2008-12-03 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* w32.c (init_environment): Don't unload library shell32.dll.
|
||||
|
@ -3978,7 +3978,10 @@ kbd_buffer_get_event (kbp, used_mouse_menu, end_time)
|
||||
register int c;
|
||||
Lisp_Object obj;
|
||||
|
||||
if (noninteractive)
|
||||
if (noninteractive
|
||||
/* In case we are running as a daemon, only do this before
|
||||
detaching from the terminal. */
|
||||
|| (IS_DAEMON && daemon_pipe[1] >= 0))
|
||||
{
|
||||
c = getchar ();
|
||||
XSETINT (obj, c);
|
||||
|
Loading…
Reference in New Issue
Block a user