From: Stefan Kangas Date: Tue, 25 Jan 2022 23:42:10 +0000 (+0100) Subject: * src/image.c (parse_image_spec): Use NILP. X-Git-Tag: emacs-29.0.90~2745 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51fdcca000f7ee5b08115a81e58b2e56036fade6;p=emacs.git * src/image.c (parse_image_spec): Use NILP. --- 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)