emacs: show: refresh buffer did not remove overlays
authorMark Walters <markwalters1009@gmail.com>
Wed, 5 Dec 2012 12:11:49 +0000 (12:11 +0000)
committerDavid Bremner <bremner@debian.org>
Thu, 6 Dec 2012 21:13:23 +0000 (17:13 -0400)
commit776e21d953326f1d7c3317215d11c53ad6eaaf08
tree0ed2c97af90e476fa723716b5c13e4e28b070efa
parent5382eebcdcdb50625c038c6caa89968d2f403bd1
emacs: show: refresh buffer did not remove overlays

Previously refreshing the notmuch show buffer did not remove overlays
which meant that if the user refreshed a message with images the
images would remain and then the new text was added after.

One might have guessed that erase-buffer would have removed them but
it seems not.  Thus force the removal of overlays with remove-overlays.
emacs/notmuch-show.el