summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-11-23 04:17:56 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-11-23 04:17:56 +0000
commitf7cf8b2009b0bc2526d50c3455f737a543122dd4 (patch)
tree19424fc66975cf01deb2319eb8de9d56671239b1 /src/emacs.c
parentdc2f6c05101218ed05ecb40a831dfbdb91d80858 (diff)
downloademacs-f7cf8b2009b0bc2526d50c3455f737a543122dd4.tar.gz
(main): Call init_editfns before init_process, since
init_process sets Vprocess_connection_type depending on OS release
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 8a51b8cb8e4..af6a7b71423 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1666,6 +1666,7 @@ main (argc, argv
#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 @@ main (argc, argv
init_image ();
#endif /* HAVE_WINDOW_SYSTEM */
init_macros ();
- init_editfns ();
init_floatfns ();
#ifdef VMS
init_vmsfns ();