From: Gerd Möllmann Date: Mon, 24 Oct 2022 16:37:37 +0000 (+0200) Subject: Fix error with ImageMagick X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=41042ad3a2c53feea7c5a83ee58720f015289a23;p=emacs.git Fix error with ImageMagick * src/image.c (imagemagick_filename_hint): Don't assume QCformat is available. --- diff --git a/src/image.c b/src/image.c index 4f548da76c3..04f31cdfa11 100644 --- a/src/image.c +++ b/src/image.c @@ -10074,7 +10074,7 @@ imagemagick_filename_hint (Lisp_Object spec, char hint_buffer[MaxTextExtent]) if (! CONSP (val)) return NULL; - format = image_spec_value (spec, QCformat, NULL); + format = image_spec_value (spec, intern (":format"), NULL); val = Fcar_safe (Fcdr_safe (Fassq (format, val))); if (! STRINGP (val)) return NULL;