[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; OSX: isatty
From: |
Markus Triska |
Subject: |
Re: 23.0.60; OSX: isatty |
Date: |
Sat, 17 Nov 2007 16:27:01 +0100 |
Stefan Monnier <address@hidden> writes:
> figure where this is coming from.
For completeness, this is the relevant commit:
commit 6c194ef1b42ba72670dbfaa82b7eacffbf22e2d4
Author: Karoly Lorentey <address@hidden>
Date: Mon Mar 29 12:05:03 2004 +0000
Fix initialization order at bootstrap (Dan Nicolaescu).
src/emacs.c (main): Call init_process before init_display to prevent
losing the keyboard on stdin (reported by Dan Nicolaescu).
git-archimport-id: address@hidden/emacs--multi-tty--0--patch-128
diff --git a/src/emacs.c b/src/emacs.c
index 43d2f85..1c7d595 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1578,6 +1578,7 @@ main (argc, argv
#endif /* end #ifdef HAVE_NTGUI */
}
+ init_process (); /* init_display uses add_keyboard_wait_descriptor. */
#ifndef MAC_OS8
/* Called before init_window_once for Mac OS Classic. */
init_keyboard (); /* This too must precede init_sys_modes. */
@@ -1604,7 +1605,6 @@ main (argc, argv
#ifdef VMS
init_vmsfns ();
#endif /* VMS */
- init_process ();
#ifdef HAVE_SOUND
init_sound ();
#endif