summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 366f7dadaa9..71387f76fc2 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -505,6 +505,11 @@ main (argc, argv, envp)
}
#endif
+#ifdef RUN_TIME_REMAP
+ if (initialized)
+ run_time_remap (argv[0]);
+#endif
+
sort_args (argc, argv);
if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args))
@@ -615,11 +620,6 @@ main (argc, argv, envp)
/* Record (approximately) where the stack begins. */
stack_bottom = &stack_bottom_variable;
-#ifdef RUN_TIME_REMAP
- if (initialized)
- run_time_remap (argv[0]);
-#endif
-
#ifdef USG_SHARED_LIBRARIES
if (bss_end)
brk ((void *)bss_end);