diff src/keyboard.c @ 7828:cfe470ebd714

(command_loop_1): Treat nil in display tab like no display tab.
author Richard M. Stallman <rms@gnu.org>
date Tue, 07 Jun 1994 17:34:44 +0000
parents cd93cee36101
children e735b56f7423
line wrap: on
line diff
--- a/src/keyboard.c	Tue Jun 07 16:51:20 1994 +0000
+++ b/src/keyboard.c	Tue Jun 07 17:34:44 1994 +0000
@@ -1165,7 +1165,12 @@
 
 			  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])