Commit db3b3b35 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix starting temacs interactively

* src/dispnew.c (init_display_interactive): Don't call
init_faces_initial if we aren't initialized, since
tty-set-up-initial-frame-faces is not available then.  This
restores the ability to start "temacs -nw" and also avoids
bad crashes in "emacs -nw" if the pdumper file is not found.
(Bug#34707)
parent 8a64107f
Pipeline #906 failed with stage
in 49 minutes and 31 seconds
......@@ -6186,7 +6186,7 @@ init_display_interactive (void)
calculate_costs (XFRAME (selected_frame));
/* Set up faces of the initial terminal frame. */
if (!noninteractive && NILP (Vinitial_window_system))
if (initialized && !noninteractive && NILP (Vinitial_window_system))
init_faces_initial ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment