diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/msdos.c | 1 | ||||
| -rw-r--r-- | src/term.c | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fb941916c45..0bc8a712112 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-08-10 Reuben Thomas <rrt@sc3d.org> | ||
| 2 | |||
| 3 | Fix a couple of recent inadvertent breaks of the MSDOS port. | ||
| 4 | * msdos.c: include required menu.h | ||
| 5 | * term.c: set correct menu_show_hook on MSDOS. | ||
| 6 | |||
| 1 | 2014-08-10 Martin Rudalics <rudalics@gmx.at> | 7 | 2014-08-10 Martin Rudalics <rudalics@gmx.at> |
| 2 | 8 | ||
| 3 | Fix handling of menu bar line on TTY frames (Bug#18136) | 9 | Fix handling of menu bar line on TTY frames (Bug#18136) |
diff --git a/src/msdos.c b/src/msdos.c index 9fe078d0746..dae86b5a3b2 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -71,6 +71,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 71 | #include "coding.h" | 71 | #include "coding.h" |
| 72 | #include "disptab.h" | 72 | #include "disptab.h" |
| 73 | #include "window.h" | 73 | #include "window.h" |
| 74 | #include "menu.h" | ||
| 74 | #include "buffer.h" | 75 | #include "buffer.h" |
| 75 | #include "commands.h" | 76 | #include "commands.h" |
| 76 | #include "blockinput.h" | 77 | #include "blockinput.h" |
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; |