jondeandres/erc-image.el — pull request #4 by pao (2013-11-25 03:43:17+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.