aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorGravatar David Edmondson <dme@dme.org>2011-12-20 08:45:14 +0000
committerGravatar David Bremner <bremner@debian.org>2012-01-09 06:40:24 -0400
commitdd41a07bbdd8bb55873773918e06483caf664918 (patch)
treec7174029c0a55b4f59bcaa5ceb449a766089fe03 /emacs/notmuch.el
parent228d8c0528311fa0e6c7ef675530b653019946de (diff)
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.
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index fde23779..c678c93d 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -438,7 +438,7 @@ Complete list of currently available key bindings:
"*")
32 nil nil t))
crypto-switch)
- (error "End of search results"))))
+ (message "End of search results."))))
(defun notmuch-search-reply-to-thread (&optional prompt-for-sender)
"Begin composing a reply to the entire current thread in a new buffer."