summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index c09ad97a701..792f690797d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2011,6 +2011,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
/* Init buffer storage and default directory of main buffer. */
init_buffer ();
+ /* Must precede init_cmdargs and init_sys_modes. */
+ init_callproc_1 ();
+
/* Must precede init_lread. */
init_cmdargs (argc, argv, skip_args, original_pwd);