mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
emacs: hello: stop update from forcing the buffer to be displayed
Make the notmuch-hello refresh function (notmuch-hello-update) not force the buffer to be displayed. All the callers call it when the buffer is already displayed so it will only affect non-interactive callers. Since it is just a trivial wrapper of notmuch-hello anyone who wants to force the buffer to be displayed should just call notmuch-hello.
This commit is contained in:
parent
5e83fe979d
commit
a9ab5e42af
1 changed files with 3 additions and 3 deletions
|
@ -604,11 +604,11 @@ with `notmuch-hello-query-counts'."
|
||||||
|
|
||||||
(defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png")))
|
(defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png")))
|
||||||
|
|
||||||
(defun notmuch-hello-update (&optional no-display)
|
(defun notmuch-hello-update ()
|
||||||
"Update the current notmuch view."
|
"Update the notmuch-hello buffer."
|
||||||
;; Lazy - rebuild everything.
|
;; Lazy - rebuild everything.
|
||||||
(interactive)
|
(interactive)
|
||||||
(notmuch-hello no-display))
|
(notmuch-hello t))
|
||||||
|
|
||||||
(defun notmuch-hello-window-configuration-change ()
|
(defun notmuch-hello-window-configuration-change ()
|
||||||
"Hook function to update the hello buffer when it is switched to."
|
"Hook function to update the hello buffer when it is switched to."
|
||||||
|
|
Loading…
Reference in a new issue