diff options
| author | Mark Walters <markwalters1009@gmail.com> | 2016-10-15 08:32:41 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-10-17 09:04:38 -0300 |
| commit | a9ab5e42af4464e37569221b8faaf5a7fec0cc8e (patch) | |
| tree | 5a3a40fbca367916c58c746741955af1a3194a0a | |
| parent | 5e83fe979dc67a9aaad6eee28735e0ab47b1743c (diff) | |
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.
| -rw-r--r-- | emacs/notmuch-hello.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 089a19d7..c858a20b 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -604,11 +604,11 @@ with `notmuch-hello-query-counts'." (defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png"))) -(defun notmuch-hello-update (&optional no-display) - "Update the current notmuch view." +(defun notmuch-hello-update () + "Update the notmuch-hello buffer." ;; Lazy - rebuild everything. (interactive) - (notmuch-hello no-display)) + (notmuch-hello t)) (defun notmuch-hello-window-configuration-change () "Hook function to update the hello buffer when it is switched to." |
