Mercurial > emacs
comparison src/xdisp.c @ 83024:e66f69c4f2c5
Fixed interactive temacs.
src/xdisp.c (init_iterator): Always initialize the face cache if it's NULL.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-64
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 24 Jan 2004 20:03:33 +0000 |
parents | 82c3b4da43ca |
children | c66ebcc29777 |
comparison
equal
deleted
inserted
replaced
83023:6ce586a7243e | 83024:e66f69c4f2c5 |
---|---|
2035 | 2035 |
2036 /* If realized faces have been removed, e.g. because of face | 2036 /* If realized faces have been removed, e.g. because of face |
2037 attribute changes of named faces, recompute them. When running | 2037 attribute changes of named faces, recompute them. When running |
2038 in batch mode, the face cache of the initial frame is null. If | 2038 in batch mode, the face cache of the initial frame is null. If |
2039 we happen to get called, make a dummy face cache. */ | 2039 we happen to get called, make a dummy face cache. */ |
2040 if (noninteractive && FRAME_FACE_CACHE (it->f) == NULL) | 2040 if (FRAME_FACE_CACHE (it->f) == NULL) |
2041 init_frame_faces (it->f); | 2041 init_frame_faces (it->f); |
2042 if (FRAME_FACE_CACHE (it->f)->used == 0) | 2042 if (FRAME_FACE_CACHE (it->f)->used == 0) |
2043 recompute_basic_faces (it->f); | 2043 recompute_basic_faces (it->f); |
2044 | 2044 |
2045 /* Current value of the `space-width', and 'height' properties. */ | 2045 /* Current value of the `space-width', and 'height' properties. */ |