From 41042ad3a2c53feea7c5a83ee58720f015289a23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Mon, 24 Oct 2022 18:37:37 +0200 Subject: [PATCH] Fix error with ImageMagick * src/image.c (imagemagick_filename_hint): Don't assume QCformat is available. --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2