]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Properly handle nil in display table.
authorRichard M. Stallman <rms@gnu.org>
Sun, 5 Jun 1994 11:30:29 +0000 (11:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 5 Jun 1994 11:30:29 +0000 (11:30 +0000)
src/keyboard.c

index 844e17467d1cea9ba1e9aa71c1fcb50a34a93533..d7f6851874bbd37072bd6ee370e506eba312c878 100644 (file)
@@ -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));
                        }