Change FIRST-UNSEEN-MESSAGE to return #F if there are no unseen
authorChris Hanson <org/chris-hanson/cph>
Wed, 17 May 2000 17:04:08 +0000 (17:04 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 17 May 2000 17:04:08 +0000 (17:04 +0000)
messages; previously it returned the last message.  Reexamine all of
the uses of FIRST-UNSEEN-MESSAGE and refine the logic there.

v7/src/imail/imail-top.scm

index ff03f68a913d522e400bed10c8ea54c7a9f18aff..29a7d421a00d93ab6cf3caf9e8fefb3f66961946 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-top.scm,v 1.49 2000/05/17 17:00:54 cph Exp $
+;;; $Id: imail-top.scm,v 1.50 2000/05/17 17:04:08 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
@@ -133,6 +133,7 @@ May be called with an IMAIL folder URL as argument;
   (without-interrupts
    (lambda ()
      (buffer-put! buffer 'IMAIL-FOLDER folder)
+     (buffer-put! buffer 'IMAIL-MESSAGE message)
      (folder-put! folder 'BUFFER buffer)
      (add-event-receiver! (folder-modification-event folder)
        (lambda (folder)