aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-12-13 05:39:20 +0000
committerChong Yidong2008-12-13 05:39:20 +0000
commit91c37b7e4157338a071375ffb4fd4013a7d782cb (patch)
tree2a2c9c7496e2ad515c616076f0bc0e51f769cff0 /src
parentbf61b6ada1ac5dbe0cde5de361d68b6ec2886c01 (diff)
downloademacs-91c37b7e4157338a071375ffb4fd4013a7d782cb.tar.gz
emacs-91c37b7e4157338a071375ffb4fd4013a7d782cb.zip
Update commentary.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 4773619468f..acadc434738 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -849,8 +849,10 @@ init_frame_faces (f)
849 /* Make the image cache. */ 849 /* Make the image cache. */
850 if (FRAME_WINDOW_P (f)) 850 if (FRAME_WINDOW_P (f))
851 { 851 {
852 /* We initialize the image cache when creating the first frame
853 on a terminal, and not during terminal creation. This way,
854 `x-open-connection' on a tty won't create an image cache. */
852 if (FRAME_IMAGE_CACHE (f) == NULL) 855 if (FRAME_IMAGE_CACHE (f) == NULL)
853 /* Is that ever possible?? --Stef */
854 FRAME_IMAGE_CACHE (f) = make_image_cache (); 856 FRAME_IMAGE_CACHE (f) = make_image_cache ();
855 ++FRAME_IMAGE_CACHE (f)->refcount; 857 ++FRAME_IMAGE_CACHE (f)->refcount;
856 } 858 }