]> git.notmuchmail.org Git - notmuch/commit
emacs: Make notmuch-show-next-thread return nil on failure
authorLeo Okawa Ericson <git@relevant-information.com>
Thu, 9 Jun 2022 15:18:22 +0000 (17:18 +0200)
committerDavid Bremner <david@tethera.net>
Mon, 13 Jun 2022 11:06:51 +0000 (08:06 -0300)
commitfb4a0967cab7df737d5d53199a48a0e79c429b61
treecbe1d47dc8b149cc359077f77df9706143291362
parenta5504e8b1cfd8dddfe395ba4a46da3ea6008e714
emacs: Make notmuch-show-next-thread return nil on failure

Having notmuch-show-next-thread return non-nil on success and nil on
failure makes it easier for users to interact with notmuch via elisp.

This commit changes notmuch-search-show-thread too since the return
value of notmuch-show-next-thread depends on notmuch-search-show-thread.

Amended by db: fix whitespace in T450-emacs-show
emacs/notmuch-show.el
emacs/notmuch.el
test/T450-emacs-show.sh