]> git.notmuchmail.org Git - notmuch/commit
emacs/show: special case toggling display of images 0.38.1_pre0
authorDavid Bremner <david@tethera.net>
Sun, 24 Sep 2023 09:51:52 +0000 (06:51 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 1 Oct 2023 10:47:16 +0000 (07:47 -0300)
commita064a25427f466c6ba7da76c2b58bbac290caf5a
treeca90dc5f241d289e70cf95fb8b12a11de3483196
parent0646d4855bff8b1f7ab10d5207cd66c9e75ea810
emacs/show: special case toggling display of images

According to emacs upstream [1], we can't expect overlay invisibility
and images to get along. This commit uses the previously stashed
undisplayer functions to actually remove the images from the buffer.
When the image is toggled, it is essentially redisplayed from scratch,
using the previously stashed redisplay data.

[1]: https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg00593.html
emacs/notmuch-show.el