summary refs log tree commit diff stats
path: root/lisp/+tab-bar.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/+tab-bar.el')
-rw-r--r--lisp/+tab-bar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/+tab-bar.el b/lisp/+tab-bar.el index f0c4f62..1f4745d 100644 --- a/lisp/+tab-bar.el +++ b/lisp/+tab-bar.el
@@ -54,7 +54,7 @@
54 "Display a notmuch count in the tab-bar." 54 "Display a notmuch count in the tab-bar."
55 (when (and (executable-find "notmuch") 55 (when (and (executable-find "notmuch")
56 (featurep 'notmuch)) 56 (featurep 'notmuch))
57 (let* ((counts (notmuch-hello-query-counts notmuch-saved-searches)) 57 (let* ((counts (ignore-errors (notmuch-hello-query-counts notmuch-saved-searches)))
58 (next (cl-find "inbox" counts :key (lambda (l) (plist-get l :name)) :test 'equal)) 58 (next (cl-find "inbox" counts :key (lambda (l) (plist-get l :name)) :test 'equal))
59 (next-count (plist-get next :count))) 59 (next-count (plist-get next :count)))
60 (when (and next-count (> next-count 0)) 60 (when (and next-count (> next-count 0))