From: Chris Hanson Date: Sat, 23 Mar 1996 06:26:03 +0000 (+0000) Subject: Fix bug: rmail was trying to read new mail even when called with a X-Git-Tag: 20090517-FFI~5637 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=45c1d26d61f487260ffab96bd939d3afd3611a54;p=mit-scheme.git Fix bug: rmail was trying to read new mail even when called with a filename as argument, in contradiction of the documentation string. --- diff --git a/v7/src/edwin/rmail.scm b/v7/src/edwin/rmail.scm index 90f8e14cd..ddfdbf16a 100644 --- a/v7/src/edwin/rmail.scm +++ b/v7/src/edwin/rmail.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: rmail.scm,v 1.48 1996/03/01 07:31:20 cph Exp $ +;;; $Id: rmail.scm,v 1.49 1996/03/23 06:26:03 cph Exp $ ;;; ;;; Copyright (c) 1991-96 Massachusetts Institute of Technology ;;; @@ -335,7 +335,7 @@ but does not copy any new mail into the file." (if (msg-memo? memo) (msg-memo/number memo) 0)))) - ((ref-command rmail-get-new-mail) false))) + (if (not filename) ((ref-command rmail-get-new-mail) #f)))) (define-command rmail-input "Run RMAIL on file FILENAME."