]> rtime.felk.cvut.cz Git - notmuch.git/commit
emacs: Return unibyte strings for binary part data
authorAustin Clements <amdragon@mit.edu>
Sat, 24 Jan 2015 21:16:59 +0000 (16:16 -0500)
committerDavid Bremner <david@tethera.net>
Sun, 25 Jan 2015 17:39:13 +0000 (18:39 +0100)
commit9d19f325f5a0879e2f646e83e59595d5cb345de3
tree611a9d6cd7fc795893d00698de8b5924f8af4e73
parent991efcded840944b2f7ebf97d4c9df51a3d011cf
emacs: Return unibyte strings for binary part data

Unibyte strings are meant for representing binary data.  In practice,
using unibyte versus multibyte strings affects *almost* nothing.  It
does happen to matter if we use the binary data in an image descriptor
(which is, helpfully, not documented anywhere and getting it wrong
results in opaque errors like "Not a PNG image: <giant binary spew
that is, in fact, a PNG image>").
emacs/notmuch-lib.el