]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_sys_modes): Fix mixing of Lisp_Object and int
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:10:35 +0000 (13:10 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:10:35 +0000 (13:10 +0000)
src/sysdep.c

index 209b2715f3ea0fc84311e6d1e311a3e0fe1e8615..eec0295b4514228764843328f89885a6d7b02790 100644 (file)
@@ -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;