# HG changeset patch # User Richard M. Stallman # Date 770815829 0 # Node ID add6e866d6a2fa986610d233f8f3154685cbeeb8 # Parent 1f3e232733496cdd0b9559d05c6abe3adf1f14e9 (command_loop_1): Properly handle nil in display table. diff -r 1f3e23273349 -r add6e866d6a2 src/keyboard.c --- a/src/keyboard.c Sun Jun 05 10:44:45 1994 +0000 +++ b/src/keyboard.c Sun Jun 05 11:30:29 1994 +0000 @@ -1162,13 +1162,14 @@ Lisp_Object obj; obj = DISP_CHAR_VECTOR (dp, lose); - if (NILP (obj) - || (XTYPE (obj) == Lisp_Vector - && XVECTOR (obj)->size == 1 - && (XTYPE (obj = XVECTOR (obj)->contents[0]) - == Lisp_Int) - /* Insist face not specified in glyph. */ - && (XINT (obj) & ((-1) << 8)) == 0)) + if (NILP (obj)) + no_redisplay = direct_output_for_insert (lose); + else if (XTYPE (obj) == Lisp_Vector + && XVECTOR (obj)->size == 1 + && (XTYPE (obj = XVECTOR (obj)->contents[0]) + == Lisp_Int) + /* Insist face not specified in glyph. */ + && (XINT (obj) & ((-1) << 8)) == 0) no_redisplay = direct_output_for_insert (XINT (obj)); }