]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: fix dangling overlays in notmuch-search
[notmuch] / emacs / notmuch.el
index 2618175819374de5de86c6ff94cd0b31954ed071..6eef4af13341733da81ad4c603c5546c4c9aae8a 100644 (file)
@@ -841,6 +841,7 @@ non-authors is found, assume that all of the authors match."
              overlay)
          (insert invisible-string)
          (setq overlay (make-overlay start (point)))
+         (overlay-put overlay 'evaporate t)
          (overlay-put overlay 'invisible 'ellipsis)
          (overlay-put overlay 'isearch-open-invisible #'delete-overlay)))
       (insert padding))))