]> code.delx.au - gnu-emacs/commitdiff
Make (setf (image-property ...)) return VALUE
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 01:26:30 +0000 (12:26 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 23 Feb 2016 01:26:30 +0000 (12:26 +1100)
* lisp/image.el (image--set-property): Return VALUE, not IMAGE.

lisp/image.el

index 96afa98bb3e091dc3d7f4013e7bee8847a3a78f7..2ae642a3e32b276adc32ba2eb1c67eadaa96169e 100644 (file)
@@ -448,7 +448,7 @@ Internal use only."
           (setq image (cddr image))))
     ;; Just enter the new value.
     (plist-put (cdr image) property value))
-  image)
+  value)
 
 (defun image-property (image property)
   "Return the value of PROPERTY in IMAGE.