aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-06 20:44:38 +0000
committerRichard M. Stallman1998-05-06 20:44:38 +0000
commit8bb697c0d6306b1a9c6e3b5864540c9629bfee2b (patch)
treef82da68a6543089f451ad64c54ac13c435c6d927 /src
parentd84b06effa3acea6cf95f575ed7cf0b73ca79e95 (diff)
downloademacs-8bb697c0d6306b1a9c6e3b5864540c9629bfee2b.tar.gz
emacs-8bb697c0d6306b1a9c6e3b5864540c9629bfee2b.zip
(main): Call the syms_of_... and keys_of_... functions
earlier, before init_vms_input and init_display.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c49
1 files changed, 25 insertions, 24 deletions
diff --git a/src/emacs.c b/src/emacs.c
index d0fed40077e..0a0f73a9842 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1076,30 +1076,8 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
1076 init_callproc (); /* Must follow init_cmdargs but not init_sys_modes. */ 1076 init_callproc (); /* Must follow init_cmdargs but not init_sys_modes. */
1077 init_lread (); 1077 init_lread ();
1078 1078
1079 if (!noninteractive) 1079 /* Intern the names of all standard functions and variables;
1080 { 1080 define standard keys. */
1081#ifdef VMS
1082 init_vms_input ();/* init_display calls get_frame_size, that needs this */
1083#endif /* VMS */
1084 init_display (); /* Determine terminal type. init_sys_modes uses results */
1085 }
1086 init_keyboard (); /* This too must precede init_sys_modes */
1087#ifdef VMS
1088 init_vmsproc (); /* And this too. */
1089#endif /* VMS */
1090 init_sys_modes (); /* Init system terminal modes (RAW or CBREAK, etc.) */
1091 init_xdisp ();
1092 init_macros ();
1093 init_editfns ();
1094#ifdef LISP_FLOAT_TYPE
1095 init_floatfns ();
1096#endif
1097#ifdef VMS
1098 init_vmsfns ();
1099#endif /* VMS */
1100 init_process ();
1101
1102/* Intern the names of all standard functions and variables; define standard keys */
1103 1081
1104 if (!initialized) 1082 if (!initialized)
1105 { 1083 {
@@ -1203,6 +1181,29 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
1203 keys_of_frame (); 1181 keys_of_frame ();
1204 } 1182 }
1205 1183
1184 if (!noninteractive)
1185 {
1186#ifdef VMS
1187 init_vms_input ();/* init_display calls get_frame_size, that needs this */
1188#endif /* VMS */
1189 init_display (); /* Determine terminal type. init_sys_modes uses results */
1190 }
1191 init_keyboard (); /* This too must precede init_sys_modes */
1192#ifdef VMS
1193 init_vmsproc (); /* And this too. */
1194#endif /* VMS */
1195 init_sys_modes (); /* Init system terminal modes (RAW or CBREAK, etc.) */
1196 init_xdisp ();
1197 init_macros ();
1198 init_editfns ();
1199#ifdef LISP_FLOAT_TYPE
1200 init_floatfns ();
1201#endif
1202#ifdef VMS
1203 init_vmsfns ();
1204#endif /* VMS */
1205 init_process ();
1206
1206 if (!initialized) 1207 if (!initialized)
1207 { 1208 {
1208 char *file; 1209 char *file;