Mercurial > emacs
comparison src/emacs.c @ 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 | d3e87ee5aa0e |
children | 2dd672d9fe75 |
comparison
equal
deleted
inserted
replaced
86359:4c23769d1dd7 | 86360:aa83d83c27fe |
---|---|
1664 globals_of_w32menu (); | 1664 globals_of_w32menu (); |
1665 globals_of_w32select (); | 1665 globals_of_w32select (); |
1666 #endif /* HAVE_NTGUI */ | 1666 #endif /* HAVE_NTGUI */ |
1667 } | 1667 } |
1668 | 1668 |
1669 init_editfns (); /* init_process uses Voperating_system_release. */ | |
1669 init_process (); /* init_display uses add_keyboard_wait_descriptor. */ | 1670 init_process (); /* init_display uses add_keyboard_wait_descriptor. */ |
1670 #ifndef MAC_OS8 | 1671 #ifndef MAC_OS8 |
1671 /* Called before init_window_once for Mac OS Classic. */ | 1672 /* Called before init_window_once for Mac OS Classic. */ |
1672 init_keyboard (); /* This too must precede init_sys_modes. */ | 1673 init_keyboard (); /* This too must precede init_sys_modes. */ |
1673 #endif | 1674 #endif |
1686 #ifdef HAVE_WINDOW_SYSTEM | 1687 #ifdef HAVE_WINDOW_SYSTEM |
1687 init_fringe (); | 1688 init_fringe (); |
1688 init_image (); | 1689 init_image (); |
1689 #endif /* HAVE_WINDOW_SYSTEM */ | 1690 #endif /* HAVE_WINDOW_SYSTEM */ |
1690 init_macros (); | 1691 init_macros (); |
1691 init_editfns (); | |
1692 init_floatfns (); | 1692 init_floatfns (); |
1693 #ifdef VMS | 1693 #ifdef VMS |
1694 init_vmsfns (); | 1694 init_vmsfns (); |
1695 #endif /* VMS */ | 1695 #endif /* VMS */ |
1696 #ifdef HAVE_SOUND | 1696 #ifdef HAVE_SOUND |