]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Treat nil in display tab like no display tab.
authorRichard M. Stallman <rms@gnu.org>
Tue, 7 Jun 1994 17:34:44 +0000 (17:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 7 Jun 1994 17:34:44 +0000 (17:34 +0000)
src/keyboard.c

index b24ac159300f9cd2b679e4c28d14917bfcd80ae3..6ff8789a5ededa3928954b71a51be3d572d3c22f 100644 (file)
@@ -1165,7 +1165,12 @@ command_loop_1 ()
 
                          obj = DISP_CHAR_VECTOR (dp, lose);
                          if (NILP (obj))
-                           no_redisplay = direct_output_for_insert (lose);
+                           {
+                             /* Do it only for char codes
+                                that by default display as themselves.  */
+                             if (lose >= 0x20 && lose <= 0x7e)
+                               no_redisplay = direct_output_for_insert (lose);
+                           }
                          else if (XTYPE (obj) == Lisp_Vector
                                   && XVECTOR (obj)->size == 1
                                   && (XTYPE (obj = XVECTOR (obj)->contents[0])