Commit e503e9d3 authored by Alex Gramiak's avatar Alex Gramiak Committed by Eli Zaretskii
Browse files

Set up defined_color_hook for the initial frame

* src/terminal.c (init_initial_terminal): Set up the
defined_color_hook.  This avoids crashes when running
in batch mode with code that manipulates colors.
parent 65e4ebdf
Pipeline #2803 failed with stage
in 90 minutes and 1 second
......@@ -622,6 +622,7 @@ init_initial_terminal (void)
initial_terminal->kboard = initial_kboard;
initial_terminal->delete_terminal_hook = &delete_initial_terminal;
initial_terminal->delete_frame_hook = &initial_free_frame_resources;
initial_terminal->defined_color_hook = &tty_defined_color; /* xfaces.c */
/* Other hooks are NULL by default. */
return initial_terminal;
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