kidd/erc-image.el — pull request #13 by pao (2013-11-25 19:38:36+00:00)
Title: Ensure images are saved in binary mode

Fixes the image loader on Windows, where the default buffer file coding is DOS line endings. We can locally set `coding-system-for-write` to keep Emacs from touching the buffer when the temporary file is saved.

(Supercedes jondeandres/erc-image.el#4)