Mercurial > emacs
comparison src/keyboard.c @ 7787:add6e866d6a2
(command_loop_1): Properly handle nil in display table.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 05 Jun 1994 11:30:29 +0000 |
parents | ce538d63b1e9 |
children | cd93cee36101 |
comparison
equal
deleted
inserted
replaced
7786:1f3e23273349 | 7787:add6e866d6a2 |
---|---|
1160 if (dp) | 1160 if (dp) |
1161 { | 1161 { |
1162 Lisp_Object obj; | 1162 Lisp_Object obj; |
1163 | 1163 |
1164 obj = DISP_CHAR_VECTOR (dp, lose); | 1164 obj = DISP_CHAR_VECTOR (dp, lose); |
1165 if (NILP (obj) | 1165 if (NILP (obj)) |
1166 || (XTYPE (obj) == Lisp_Vector | 1166 no_redisplay = direct_output_for_insert (lose); |
1167 && XVECTOR (obj)->size == 1 | 1167 else if (XTYPE (obj) == Lisp_Vector |
1168 && (XTYPE (obj = XVECTOR (obj)->contents[0]) | 1168 && XVECTOR (obj)->size == 1 |
1169 == Lisp_Int) | 1169 && (XTYPE (obj = XVECTOR (obj)->contents[0]) |
1170 /* Insist face not specified in glyph. */ | 1170 == Lisp_Int) |
1171 && (XINT (obj) & ((-1) << 8)) == 0)) | 1171 /* Insist face not specified in glyph. */ |
1172 && (XINT (obj) & ((-1) << 8)) == 0) | |
1172 no_redisplay | 1173 no_redisplay |
1173 = direct_output_for_insert (XINT (obj)); | 1174 = direct_output_for_insert (XINT (obj)); |
1174 } | 1175 } |
1175 else | 1176 else |
1176 { | 1177 { |