]> git.eshelyaron.com Git - emacs.git/commitdiff
Update commentary.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 13 Dec 2008 05:39:20 +0000 (05:39 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 13 Dec 2008 05:39:20 +0000 (05:39 +0000)
src/xfaces.c

index 4773619468fef5a669cd0f713a2e6de9463cf0e7..acadc43473860d85b020225c6559a40563398f50 100644 (file)
@@ -849,8 +849,10 @@ init_frame_faces (f)
   /* Make the image cache.  */
   if (FRAME_WINDOW_P (f))
     {
+      /* We initialize the image cache when creating the first frame
+        on a terminal, and not during terminal creation.  This way,
+        `x-open-connection' on a tty won't create an image cache.  */
       if (FRAME_IMAGE_CACHE (f) == NULL)
-       /* Is that ever possible??  --Stef  */
        FRAME_IMAGE_CACHE (f) = make_image_cache ();
       ++FRAME_IMAGE_CACHE (f)->refcount;
     }