From: Alan Third Date: Sun, 20 Dec 2020 16:03:52 +0000 (+0000) Subject: Fix image cache lookup X-Git-Tag: emacs-28.0.90~4641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=537e96f6ac58099d3f422eac9d78d54716aeb014;p=emacs.git Fix image cache lookup * src/image.c (lookup_image): ignore_colors should be false as we want to search for images with matching colors. --- diff --git a/src/image.c b/src/image.c index d0ae44e7df7..29cd189f177 100644 --- a/src/image.c +++ b/src/image.c @@ -2414,7 +2414,7 @@ lookup_image (struct frame *f, Lisp_Object spec, int face_id) /* Look up SPEC in the hash table of the image cache. */ hash = sxhash (spec); - img = search_image_cache (f, spec, hash, foreground, background, true); + img = search_image_cache (f, spec, hash, foreground, background, false); if (img && img->load_failed_p) { free_image (f, img);