comparison src/xdisp.c @ 34664:acdda5d1ff29

(init_iterator): If noninteractive, and the frame's face cache is null, make one.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 18 Dec 2000 12:02:13 +0000
parents 4099c0fd33f4
children 84f309395a36
comparison
equal deleted inserted replaced
34663:0d188d8c4567 34664:acdda5d1ff29
1444 else if (it->f->extra_line_spacing > 0) 1444 else if (it->f->extra_line_spacing > 0)
1445 it->extra_line_spacing = it->f->extra_line_spacing; 1445 it->extra_line_spacing = it->f->extra_line_spacing;
1446 } 1446 }
1447 1447
1448 /* If realized faces have been removed, e.g. because of face 1448 /* If realized faces have been removed, e.g. because of face
1449 attribute changes of named faces, recompute them. */ 1449 attribute changes of named faces, recompute them. When running
1450 in batch mode, the face cache of Vterminal_frame is null. If
1451 we happen to get called, make a dummy face cache. */
1452 if (noninteractive && FRAME_FACE_CACHE (it->f) == NULL)
1453 init_frame_faces (it->f);
1450 if (FRAME_FACE_CACHE (it->f)->used == 0) 1454 if (FRAME_FACE_CACHE (it->f)->used == 0)
1451 recompute_basic_faces (it->f); 1455 recompute_basic_faces (it->f);
1452 1456
1453 /* Current value of the `space-width', and 'height' properties. */ 1457 /* Current value of the `space-width', and 'height' properties. */
1454 it->space_width = Qnil; 1458 it->space_width = Qnil;