X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=d2d82a97601756338617d738c91b5ed75c9d75a0;hp=fd1836f1a83555edaa14fb5e214df96c8c00d6e2;hb=3fa00020eaac7dfb403cac239a5e59fb2b5d3e2c;hpb=015bc16f5352e17cf203e90f2b8f37f3f4ea8c6e diff --git a/emacs/notmuch.el b/emacs/notmuch.el index fd1836f1..d2d82a97 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -293,7 +293,7 @@ For a mouse binding, return nil." (defun notmuch-search-next-thread () "Select the next thread in the search results." (interactive) - (when (notmuch-search-get-result (notmuch-search-result-end)) + (when (notmuch-search-get-result) (goto-char (notmuch-search-result-end)))) (defun notmuch-search-previous-thread ()