diff options
-rw-r--r-- | emacs/notmuch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el index fd1836f..d2d82a9 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 () |