Mercurial > emacs
diff src/xfaces.c @ 100398:0941c26336f4
Update commentary.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 13 Dec 2008 05:39:20 +0000 |
parents | e1b931c8770a |
children | dab9cf44bf3f |
line wrap: on
line diff
--- a/src/xfaces.c Sat Dec 13 04:20:11 2008 +0000 +++ b/src/xfaces.c Sat Dec 13 05:39:20 2008 +0000 @@ -849,8 +849,10 @@ /* 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; }