X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-hello.el;h=bb60a890f85e1a1e8680363f136d15761b4c728e;hb=05a436f730cf6277c403b445bca9419ea89a7b2d;hp=876d8ef17a668a80de3363d3d13a4cef3c7c866a;hpb=14c4533c43ce319a8ba353f41e8c2f6be31164aa;p=notmuch diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 876d8ef1..bb60a890 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -609,7 +609,7 @@ with `notmuch-hello-query-counts'." name) (setq column-indent (1+ (max 0 (- column-width (length name))))))) - (setq count (1+ count)) + (cl-incf count) (when (eq (% count tags-per-line) 0) (setq column-indent 0) (widget-insert "\n"))) @@ -973,7 +973,7 @@ following: (let ((notmuch-hello-auto-refresh nil)) (if no-display (set-buffer "*notmuch-hello*") - (switch-to-buffer "*notmuch-hello*"))) + (pop-to-buffer-same-window "*notmuch-hello*"))) ;; Install auto-refresh hook (when notmuch-hello-auto-refresh (add-hook 'window-configuration-change-hook