From: Andreas Schwab Date: Tue, 14 Apr 1998 13:10:35 +0000 (+0000) Subject: (init_sys_modes): Fix mixing of Lisp_Object and int X-Git-Tag: emacs-20.3~1543 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a61e51f0d28c6dc5dd54ede046ce021613125d56;p=emacs.git (init_sys_modes): Fix mixing of Lisp_Object and int --- diff --git a/src/sysdep.c b/src/sysdep.c index 209b2715f3e..eec0295b451 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -1446,7 +1446,7 @@ init_sys_modes () tty.main.tt2_char |= TT2$M_PASTHRU | TT2$M_XON; #else /* not VMS (BSD, that is) */ #ifndef DOS_NT - Vtty_erase_char = tty.main.sg_erase; + XSETINT (Vtty_erase_char, tty.main.sg_erase); tty.main.sg_flags &= ~(ECHO | CRMOD | XTABS); if (meta_key) tty.main.sg_flags |= ANYP;