[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e503e9d: Set up defined_color_hook for the initial
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master e503e9d: Set up defined_color_hook for the initial frame |
Date: |
Sat, 10 Aug 2019 04:47:28 -0400 (EDT) |
branch: master
commit e503e9d35f80ff064c9f0ef24e514b00f5e214f9
Author: Alex Gramiak <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
(Bug#36019)
---
src/terminal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/terminal.c b/src/terminal.c
index bb02d58..dfcd5b0 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e503e9d: Set up defined_color_hook for the initial frame,
Eli Zaretskii <=