aboutsummaryrefslogtreecommitdiff
path: root/notmuch.el
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.el b/notmuch.el
index 40d7875..9eb8469 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -977,8 +977,8 @@ thread from that buffer can be show when done with this one)."
; directly to that position. (We have to count lines since the
; window-start position is not the same as point-min due to the
; invisible thread-ID characters on the first line.
- (if (equal (count-lines (point-min) (window-start)) 1)
- (goto-char (window-start))
+ (if (equal (count-lines (point-min) (window-start)) 0)
+ (goto-char (point-min))
(scroll-down nil)))
(defun notmuch-search-goto-last-thread ()