]> git.notmuchmail.org Git - notmuch/commit - emacs/notmuch.el
emacs: fix dangling overlays in notmuch-search
authorMatt Armstrong <matt@rfc20.org>
Thu, 13 Oct 2022 03:20:38 +0000 (20:20 -0700)
committerDavid Bremner <david@tethera.net>
Sat, 5 Nov 2022 17:13:43 +0000 (13:13 -0400)
commitb6565c1c54e35563843e7ddece601680170bb84a
treed7ac9bab343c45b61968143dfa32ab76681e4113
parent32bef335658763b5e9d887db3ac22bb3c1b76d9e
emacs: fix dangling overlays in notmuch-search

notmuch-search-insert-authors now sets the evaporate property on the
ellipsis overlays.  Emacs will delete them when the buffer contents
are zeroed out, which happens with `notmuch-refresh-buffer`.  This
prevents them from being collapsed to zero-width overlays in position
1.  See Emacs bug#58479.  An upcoming change in Emacs will make these
dangling overlays visible to the user.
emacs/notmuch.el