X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-hello.el;h=e325cd3bd0268570ac412d740961b1f5663906a4;hb=75d84dfd8417eacac4e8586d6d1d4d2728717d07;hp=7b3d76b7d8505e71cd8742d9e5e25f996ae2aa35;hpb=fa27d0faa057775fe709dc2d3d0eb1ee5654512a;p=notmuch diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 7b3d76b7..e325cd3b 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -399,10 +399,12 @@ options will be handled as specified for (third elem) (cdr elem)))) (insert - (notmuch-hello-filtered-query count-query - (or (plist-get options :filter-count) - (plist-get options :filter))) - "\n"))) + (replace-regexp-in-string + "\n" " " + (notmuch-hello-filtered-query count-query + (or (plist-get options :filter-count) + (plist-get options :filter)))) + "\n"))) (unless (= (call-process-region (point-min) (point-max) notmuch-command t t nil "count" "--batch") 0)