# HG changeset patch # User Karoly Lorentey # Date 1074974613 0 # Node ID e66f69c4f2c5cf20c911a3322d2eef4209f9e2e4 # Parent 6ce586a7243e9ab4d163d3fa9baaddb38ed15eeb 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 diff -r 6ce586a7243e -r e66f69c4f2c5 README.multi-tty --- a/README.multi-tty Sat Jan 24 19:32:29 2004 +0000 +++ b/README.multi-tty Sat Jan 24 20:03:33 2004 +0000 @@ -173,9 +173,6 @@ > > This also happens when I start a new frame in an xterm. -** Fix interactive use of temacs. There are face-related SEGVs, most - likely because of changes in realize_default_face, realize_face. - ** Very strange bug: visible-bell does not work on secondary terminals. This might be something xterm (konsole) specific. @@ -608,4 +605,9 @@ (Fixed, there was a keyboard initialization problem.) +-- Fix interactive use of temacs. There are face-related SEGVs, most + likely because of changes in realize_default_face, realize_face. + + (Fixed.) + ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d diff -r 6ce586a7243e -r e66f69c4f2c5 src/xdisp.c --- a/src/xdisp.c Sat Jan 24 19:32:29 2004 +0000 +++ b/src/xdisp.c Sat Jan 24 20:03:33 2004 +0000 @@ -2037,7 +2037,7 @@ attribute changes of named faces, recompute them. When running in batch mode, the face cache of the initial frame is null. If we happen to get called, make a dummy face cache. */ - if (noninteractive && FRAME_FACE_CACHE (it->f) == NULL) + if (FRAME_FACE_CACHE (it->f) == NULL) init_frame_faces (it->f); if (FRAME_FACE_CACHE (it->f)->used == 0) recompute_basic_faces (it->f);