From 51fdcca000f7ee5b08115a81e58b2e56036fade6 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 26 Jan 2022 00:42:10 +0100 Subject: [PATCH] * src/image.c (parse_image_spec): Use NILP. --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.c b/src/image.c index 951531505e6..32e03ab6f75 100644 --- a/src/image.c +++ b/src/image.c @@ -1177,7 +1177,7 @@ parse_image_spec (Lisp_Object spec, struct image_keyword *keywords, return false; maybe_done: - if (EQ (XCDR (plist), Qnil)) + if (NILP (XCDR (plist))) { /* Check that all mandatory fields are present. */ for (i = 0; i < nkeywords; ++i) -- 2.39.5