]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/image.c (parse_image_spec): Use NILP.
authorStefan Kangas <stefan@marxist.se>
Tue, 25 Jan 2022 23:42:10 +0000 (00:42 +0100)
committerStefan Kangas <stefan@marxist.se>
Tue, 25 Jan 2022 23:42:10 +0000 (00:42 +0100)
src/image.c

index 951531505e693c0b7059f65b75686a35c2d45cb4..32e03ab6f759a36437b49715e122484ea4014f7e 100644 (file)
@@ -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)