changeset 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 fafd4d38d176
children 5412b8112b6e
files src/keyboard.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
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])