From 1d64079a52373de04bc213c837c3ef1127d19f77 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 2 Apr 2022 13:54:33 -0500 Subject: Ignore errors in +tab-bar-notmuch-count --- lisp/+tab-bar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/+tab-bar.el b/lisp/+tab-bar.el index e328146..5d018b5 100644 --- a/lisp/+tab-bar.el +++ b/lisp/+tab-bar.el @@ -53,7 +53,7 @@ (defun +tab-bar-notmuch-count () "Display a notmuch count in the tab-bar." (when (featurep 'notmuch) - (let* ((counts (notmuch-hello-query-counts notmuch-saved-searches)) + (let* ((counts (ignore-errors (notmuch-hello-query-counts notmuch-saved-searches))) (next (cl-find "inbox" counts :key (lambda (l) (plist-get l :name)) :test 'equal)) (next-count (plist-get next :count))) (when (and next-count (> next-count 0)) -- cgit 1.4.1-21-gabe81