X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=4c1a6cacd4da5bdf47a13919cedaef2538457b30;hb=e63aa66de8d4de43ea9c3b660b951a44dc50bdeb;hp=e58c51df0c843890bf60d805dd0028ba4fae56d8;hpb=14aef58b61656e1fe19dee224515f066137594ed;p=notmuch 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")))