emacs: Take advantage of position-remembering when returning to notmuch-hello

When we go into a search, and then later quit and return to the
notmuch-hello buffer, we want the point to remain in the same position
it was in when we left. So we have to call the position-remembering
notmuch-hello-update rather than notmuch-hello from the continuation.
This commit is contained in:
Carl Worth 2010-04-26 18:00:37 -07:00
parent ddce8438a0
commit 652e92c6cc

View file

@ -193,7 +193,7 @@ diagonal."
(defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png"))) (defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png")))
(defun notmuch-hello-search-continuation() (defun notmuch-hello-search-continuation()
(notmuch-hello t)) (notmuch-hello-update t))
(defun notmuch-hello-update (&optional no-display) (defun notmuch-hello-update (&optional no-display)
;; Lazy - rebuild everything. ;; Lazy - rebuild everything.