From 404271997ebab0ee28848b6349f52b60ba935df2 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 2 Dec 2008 14:03:19 +0000 Subject: [PATCH] (pmail-only-expunge): Pass correct arg to pmail-show-message-maybe. --- lisp/mail/pmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2