From: Richard M. Stallman Date: Sun, 5 Jun 1994 11:30:29 +0000 (+0000) Subject: (command_loop_1): Properly handle nil in display table. X-Git-Tag: emacs-19.34~8066 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=054c8675bfdf965881ff4470360221cc6e9713eb;p=emacs.git (command_loop_1): Properly handle nil in display table. --- diff --git a/src/keyboard.c b/src/keyboard.c index 844e17467d1..d7f6851874b 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1162,13 +1162,14 @@ command_loop_1 () 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)); }