changeset 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 6ce586a7243e
children c66ebcc29777
files README.multi-tty src/xdisp.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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);