changeset 7787:add6e866d6a2

(command_loop_1): Properly handle nil in display table.
author Richard M. Stallman <rms@gnu.org>
date Sun, 05 Jun 1994 11:30:29 +0000
parents 1f3e23273349
children ddcb81020fa1
files src/keyboard.c
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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));
 			}