]> git.eshelyaron.com Git - emacs.git/commit
Make shr feed Content-Type to the image-creating libraries
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 13 Aug 2013 18:09:50 +0000 (20:09 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 13 Aug 2013 18:09:50 +0000 (20:09 +0200)
commit21c58ae2a804b00812d3e609806326ac5d301e34
tree6a8244613c12fc238b1bdeef263da273dff816cc
parent2fa611b72ba67066496866dd76688e9db5257ac6
Make shr feed Content-Type to the image-creating libraries

This finally makes it possible to display icons.

* net/eww.el (eww-display-image): Ditto.

* net/shr.el (shr-parse-image-data): New function to grab both the
data itself and the Content-Type.
(shr-put-image): Use it.
lisp/ChangeLog
lisp/net/eww.el
lisp/net/shr.el