changeset 86360:aa83d83c27fe

(main): Call init_editfns before init_process, since init_process sets Vprocess_connection_type depending on OS release
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 23 Nov 2007 04:17:56 +0000
parents 4c23769d1dd7
children 38f93f3d00a2
files src/ChangeLog src/emacs.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Nov 23 00:35:28 2007 +0000
+++ b/src/ChangeLog	Fri Nov 23 04:17:56 2007 +0000
@@ -1,3 +1,8 @@
+2007-11-23  Markus Triska  <markus.triska@gmx.at>
+
+	* emacs.c (main): Call init_editfns before init_process, since
+	init_process sets Vprocess_connection_type depending on OS release
+
 2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* data.c (do_symval_forwarding): Use same code as in find_symbol_value.
--- a/src/emacs.c	Fri Nov 23 00:35:28 2007 +0000
+++ b/src/emacs.c	Fri Nov 23 04:17:56 2007 +0000
@@ -1666,6 +1666,7 @@
 #endif  /* HAVE_NTGUI */
     }
 
+  init_editfns (); /* init_process uses Voperating_system_release. */
   init_process (); /* init_display uses add_keyboard_wait_descriptor. */
 #ifndef MAC_OS8
   /* Called before init_window_once for Mac OS Classic.  */
@@ -1688,7 +1689,6 @@
   init_image ();
 #endif /* HAVE_WINDOW_SYSTEM */
   init_macros ();
-  init_editfns ();
   init_floatfns ();
 #ifdef VMS
   init_vmsfns ();