]> git.notmuchmail.org Git - notmuch/commit
emacs: save undisplayer function for MIME parts
authorDavid Bremner <david@tethera.net>
Sun, 24 Sep 2023 09:51:49 +0000 (06:51 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 1 Oct 2023 10:47:16 +0000 (07:47 -0300)
commitb1129d905af5643ffec6a19d6cb1cf76abf9d9ce
treed65e38c0cdbd491e1a4603552dc12a644b313543
parent1c10d91d8e4a3e5bc76ca4c6b9939f3759e6ef5e
emacs: save undisplayer function for MIME parts

For some kinds of MIME parts (at least images), our trickery with
overlays will not work, so save the more drastic function created by
Gnus that actually deletes the part from the buffer. In an ideal world
we would return this function as (part of) a value, but here the call
stack is too complicated for anything that simple, so we stash it in
the part plist and rely on that being preserved (unlike the mm handle,
which is transient).
emacs/notmuch-lib.el