diff options
| author | Eli Zaretskii | 2019-04-27 11:34:05 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-04-27 11:34:05 +0300 |
| commit | 8dc00b2f1e6523c634df3e24379afbe712a32b27 (patch) | |
| tree | f6e557ac2937ee1f660a100e973a61f2c32f5086 /src | |
| parent | fb834ea3f0226cf0de740445dc11dccd6e867779 (diff) | |
| download | emacs-8dc00b2f1e6523c634df3e24379afbe712a32b27.tar.gz emacs-8dc00b2f1e6523c634df3e24379afbe712a32b27.zip | |
Fix -nw sessions on MS-Windows broken by a recent commit
* src/w32console.c: Include dispextern.h.
(initialize_w32_display): Populate defined_color_hook.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32console.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32console.c b/src/w32console.c index df232ecd1a1..8575c930a85 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -30,6 +30,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 30 | #include "lisp.h" | 30 | #include "lisp.h" |
| 31 | #include "coding.h" | 31 | #include "coding.h" |
| 32 | #include "termchar.h" /* for FRAME_TTY */ | 32 | #include "termchar.h" /* for FRAME_TTY */ |
| 33 | #include "dispextern.h" /* for tty_defined_color */ | ||
| 33 | #include "menu.h" /* for tty_menu_show */ | 34 | #include "menu.h" /* for tty_menu_show */ |
| 34 | #include "w32term.h" | 35 | #include "w32term.h" |
| 35 | #include "w32common.h" /* for os_subtype */ | 36 | #include "w32common.h" /* for os_subtype */ |
| @@ -673,6 +674,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height) | |||
| 673 | term->update_begin_hook = w32con_update_begin; | 674 | term->update_begin_hook = w32con_update_begin; |
| 674 | term->update_end_hook = w32con_update_end; | 675 | term->update_end_hook = w32con_update_end; |
| 675 | 676 | ||
| 677 | term->defined_color_hook = &tty_defined_color; /* xfaces.c */ | ||
| 676 | term->read_socket_hook = w32_console_read_socket; | 678 | term->read_socket_hook = w32_console_read_socket; |
| 677 | term->mouse_position_hook = w32_console_mouse_position; | 679 | term->mouse_position_hook = w32_console_mouse_position; |
| 678 | term->menu_show_hook = tty_menu_show; | 680 | term->menu_show_hook = tty_menu_show; |