From: Carl Worth Date: Tue, 27 Apr 2010 01:00:37 +0000 (-0700) Subject: emacs: Take advantage of position-remembering when returning to notmuch-hello X-Git-Tag: 0.3~31 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=652e92c6cc5c9e905e205deffb75a20cc85a38d6 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. --- diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index f68fdb5b..1b33ef75 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -193,7 +193,7 @@ diagonal." (defimage notmuch-hello-logo ((:type png :file "notmuch-logo.png"))) (defun notmuch-hello-search-continuation() - (notmuch-hello t)) + (notmuch-hello-update t)) (defun notmuch-hello-update (&optional no-display) ;; Lazy - rebuild everything.