]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
Merge branch 'release'
[notmuch] / emacs / notmuch.el
index e58c51df0c843890bf60d805dd0028ba4fae56d8..4c1a6cacd4da5bdf47a13919cedaef2538457b30 100644 (file)
@@ -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")))