emacs: Don't signal an error when reaching the end of the search results.

With the default configuration ('space' moves through the messages
matching the search and back to the results index at the end) it's
unnecessary to signal an error when the last message has been read, as
this is the common case.

Moreover, it's very annoying when `debug-on-error' is t.
This commit is contained in:
David Edmondson 2011-12-20 08:45:14 +00:00 committed by David Bremner
parent 228d8c0528
commit dd41a07bbd

View file

@ -438,7 +438,7 @@ Complete list of currently available key bindings:
"*") "*")
32 nil nil t)) 32 nil nil t))
crypto-switch) crypto-switch)
(error "End of search results")))) (message "End of search results."))))
(defun notmuch-search-reply-to-thread (&optional prompt-for-sender) (defun notmuch-search-reply-to-thread (&optional prompt-for-sender)
"Begin composing a reply to the entire current thread in a new buffer." "Begin composing a reply to the entire current thread in a new buffer."