aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2007-09-25 08:53:03 +0000
committerJason Rumney2007-09-25 08:53:03 +0000
commit69fb5031b30e084f78b58655c352504ff0fd723c (patch)
treedf3d296228ca6734f293b4a31e2179c582288a48 /src
parentacdc4e5902f6571af92c546627a98347624393e6 (diff)
downloademacs-69fb5031b30e084f78b58655c352504ff0fd723c.tar.gz
emacs-69fb5031b30e084f78b58655c352504ff0fd723c.zip
(init_sys_modes): Use set_terminal_modes_hook.
(reset_sys_modes): Use reset_terminal_modes_hook.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 88f4b99da8e..9a7ad5b450f 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1781,7 +1781,8 @@ init_sys_modes (tty_out)
1781 setbuf (tty_out->output, (char *) _sobuf); 1781 setbuf (tty_out->output, (char *) _sobuf);
1782#endif 1782#endif
1783 1783
1784 tty_set_terminal_modes (tty_out->terminal); 1784 if (tty_out->terminal->set_terminal_modes_hook)
1785 tty_out->terminal->set_terminal_modes_hook (tty_out->terminal);
1785 1786
1786 if (!tty_out->term_initted) 1787 if (!tty_out->term_initted)
1787 { 1788 {
@@ -1993,7 +1994,8 @@ reset_sys_modes (tty_out)
1993 } 1994 }
1994#endif 1995#endif
1995 1996
1996 tty_reset_terminal_modes (tty_out->terminal); 1997 if (tty_out->terminal->reset_terminal_modes_hook)
1998 tty_out->terminal->reset_terminal_modes_hook (tty_out->terminal);
1997 1999
1998#ifdef BSD_SYSTEM 2000#ifdef BSD_SYSTEM
1999#ifndef BSD4_1 2001#ifndef BSD4_1