]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch.el: Fix to show *something* when all messages are already read.
authorCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 19:30:15 +0000 (11:30 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 4 Nov 2009 19:30:15 +0000 (11:30 -0800)
With the recent change of showing the first unread message, we would
scroll down to the end of the buffer if all messages were already
read. This would confusingly show nothing visible in the window.

Instead, detect this case and move to the beginning of the buffer.


No differences found