aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
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 e58c51df..4c1a6cac 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -660,7 +660,7 @@ of the result."
;; things happen if a sentinel signals. Mimic
;; the top-level's handling of error messages.
(error
- (message "%s" (second err))
+ (message "%s" (error-message-string err))
(throw 'return nil)))
(if (and atbob
(not (string= notmuch-search-target-thread "found")))