diff options
| author | Reuben Thomas | 2014-08-10 17:28:36 +0100 |
|---|---|---|
| committer | Reuben Thomas | 2014-08-10 17:28:36 +0100 |
| commit | 643a0303965c233b66d7ebfd5b2c045253dea3be (patch) | |
| tree | a2205f9b5e6b84c0879c199ccefe4b76bc9f6554 /src/term.c | |
| parent | 109c0de984f2b49b89db802edc4b79d55b8f9429 (diff) | |
| download | emacs-643a0303965c233b66d7ebfd5b2c045253dea3be.tar.gz emacs-643a0303965c233b66d7ebfd5b2c045253dea3be.zip | |
Fix a couple of recent inadvertent breaks of the MSDOS port.
src/msdos.c: include required menu.h
src/term.c: set correct menu_show_hook on MSDOS.
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 9afd3b872b0..af1b62ccaaf 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -3936,7 +3936,11 @@ set_tty_hooks (struct terminal *terminal) | |||
| 3936 | terminal->reset_terminal_modes_hook = &tty_reset_terminal_modes; | 3936 | terminal->reset_terminal_modes_hook = &tty_reset_terminal_modes; |
| 3937 | terminal->set_terminal_modes_hook = &tty_set_terminal_modes; | 3937 | terminal->set_terminal_modes_hook = &tty_set_terminal_modes; |
| 3938 | terminal->update_end_hook = &tty_update_end; | 3938 | terminal->update_end_hook = &tty_update_end; |
| 3939 | #ifdef MSDOS | ||
| 3940 | terminal->menu_show_hook = &x_menu_show; | ||
| 3941 | #else | ||
| 3939 | terminal->menu_show_hook = &tty_menu_show; | 3942 | terminal->menu_show_hook = &tty_menu_show; |
| 3943 | #endif | ||
| 3940 | terminal->set_terminal_window_hook = &tty_set_terminal_window; | 3944 | terminal->set_terminal_window_hook = &tty_set_terminal_window; |
| 3941 | terminal->read_socket_hook = &tty_read_avail_input; /* keyboard.c */ | 3945 | terminal->read_socket_hook = &tty_read_avail_input; /* keyboard.c */ |
| 3942 | terminal->delete_frame_hook = &tty_free_frame_resources; | 3946 | terminal->delete_frame_hook = &tty_free_frame_resources; |