aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-24 20:03:33 +0000
committerKaroly Lorentey2004-01-24 20:03:33 +0000
commit3bbdbec9f2dd03d81d700941e5dd40da0ec3e632 (patch)
treeb58ea13436cb07d935f1b3b2ca4e73655fa9c611 /src
parent2441679b4ca544b055fe90273d1dbc22744761de (diff)
downloademacs-3bbdbec9f2dd03d81d700941e5dd40da0ec3e632.tar.gz
emacs-3bbdbec9f2dd03d81d700941e5dd40da0ec3e632.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index fc09df3b49a..4b49472e1fb 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2037,7 +2037,7 @@ init_iterator (it, w, charpos, bytepos, row, base_face_id)
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);