From 8e91f4415129bc56dac08866d24ad4829e8bb651 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 7 Jun 1994 17:34:44 +0000 Subject: [PATCH] (command_loop_1): Treat nil in display tab like no display tab. --- src/keyboard.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index b24ac159300..6ff8789a5ed 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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]) -- 2.39.5