]> git.eshelyaron.com Git - emacs.git/commitdiff
(pmail-only-expunge): Pass correct arg to pmail-show-message-maybe.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 2 Dec 2008 14:03:19 +0000 (14:03 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 2 Dec 2008 14:03:19 +0000 (14:03 +0000)
lisp/mail/pmail.el

index 25fc614053dda083c877fdf165abe93b87104bb2..e75aea1c4fee4af04d5980418788c81bbfd170a3 100644 (file)
@@ -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))