Commit a4ad7bed authored by Basil L. Contovounesios's avatar Basil L. Contovounesios

Fix off-by-one-link error in image--set-property

* lisp/image.el (image--set-property): Ensure new value is set even
in the unlikely case that the plist is empty.  Fix off-by-one-link
error when deleting a property. (bug#35285)
* test/lisp/image-tests.el: New file.
(image--set-property): New test.
parent a1c53d42
Pipeline #1335 passed with stage
in 26 minutes and 15 seconds