]> git.notmuchmail.org Git - notmuch/commit
emacs: Make update of notmuch-hello leave point on the same widget.
authorCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 00:59:01 +0000 (17:59 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 00:59:01 +0000 (17:59 -0700)
commitddce8438a086fdc79d72f5b9fae364199d33c6bd
treeb919d080223c9d8d915e5f927938fcbe8e555f1a
parentc9ba61bebef7733c4bf12adf94222e57621fdcf6
emacs: Make update of notmuch-hello leave point on the same widget.

Before refreshing, we check which widget we are currently on, (or look
for the next widget), and then we watch for that same widget to go by
when constructing the buffer contents. Finally, we jump to the
position we saw when the widget went by.
emacs/notmuch-hello.el