From: Chong Yidong Date: Tue, 2 Dec 2008 14:03:19 +0000 (+0000) Subject: (pmail-only-expunge): Pass correct arg to pmail-show-message-maybe. X-Git-Tag: emacs-pretest-23.0.90~1366 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=404271997ebab0ee28848b6349f52b60ba935df2;p=emacs.git (pmail-only-expunge): Pass correct arg to pmail-show-message-maybe. --- diff --git a/lisp/mail/pmail.el b/lisp/mail/pmail.el index 25fc614053d..e75aea1c4fe 100644 --- a/lisp/mail/pmail.el +++ b/lisp/mail/pmail.el @@ -3552,7 +3552,7 @@ See also user-option `pmail-confirm-expunge'." (if (not win) (narrow-to-region (- (buffer-size) omin) (- (buffer-size) omax))) (if (not dont-show) - (pmail-show-message-maybe (< pmail-current-message pmail-total-messages))) + (pmail-show-message-maybe (min pmail-current-message pmail-total-messages))) (pmail-swap-buffers-maybe) (if pmail-enable-mime (goto-char (+ (point-min) opoint))