Make `put-image' return the overlay created
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 10 Apr 2012 02:34:57 +0000 (04:34 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 10 Apr 2012 02:34:57 +0000 (04:34 +0200)
commitbc72b5d984940dfebda3721cac0669d4780a2cdd
treedc0acb30197fcacc3daeb5be5a677a0956cf8f32
parentbd2dba5afe571a4b71f949bc3759fbced287508a
Make `put-image' return the overlay created

* image.el (put-image): Return the overlay created instead of the
optional input string.  Note that this may break code
that is (for some reason or other) depending on `put-image'
returning the string.

Fixes: debbugs:7834
lisp/ChangeLog
lisp/image.el