aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-09-12 22:03:50 -0300
committerDavid Bremner <david@tethera.net>2021-12-04 12:11:52 -0400
commiteafb033d3220f1388f434dc29618924659fc2d33 (patch)
tree6de5d2f6f87d0d1683a16749197384bcdf2a75d1 /test
parent1e7d33961e626488b09b56c8543e8edf00648670 (diff)
emacs: run notmuch-search-hook lazily
In message id:YT3ueuZHKW931NW3@localhost, Fabio Natali isolated a visual glitch caused by running notmuch-search-hook too early. This change moves the running of that hook to notmuch-search-process-filter, which ensures there is some output in the buffer before running the hook. Since n-s-p-f can be called many times for a given buffer, add a buffer local flag to make sure it is only run once per buffer.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions