summaryrefslogtreecommitdiff
path: root/lisp/mail/rmailsum.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mail/rmailsum.el')
-rw-r--r--lisp/mail/rmailsum.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 78b0b0ed52c..916782cb4bf 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -764,7 +764,7 @@ Search, the `unseen' attribute is restored.")
(setq rmail-summary-put-back-unseen nil))
(or (eq rmail-current-message msg-num)
- (let ((window (get-buffer-window rmail-view-buffer))
+ (let ((window (get-buffer-window rmail-view-buffer t))
(owin (selected-window)))
(if isearch-mode
(save-excursion