From: Chris Hanson Date: Thu, 27 Apr 2000 00:28:09 +0000 (+0000) Subject: Implement IMAIL-PRESENT-USER-ALERT. X-Git-Tag: 20090517-FFI~3978 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=078cb0751976acc30a16b0e8b1f73bbe8d953289;p=mit-scheme.git Implement IMAIL-PRESENT-USER-ALERT. --- diff --git a/v7/src/imail/imail-top.scm b/v7/src/imail/imail-top.scm index d94a2d8ee..279189857 100644 --- a/v7/src/imail/imail-top.scm +++ b/v7/src/imail/imail-top.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-top.scm,v 1.22 2000/04/26 18:39:29 cph Exp $ +;;; $Id: imail-top.scm,v 1.23 2000/04/27 00:28:09 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -110,6 +110,12 @@ May be called with an IMAIL folder URL as argument; (or (ref-variable imail-user-name) (current-user-name))) +(define (imail-present-user-alert procedure) + (call-with-output-to-temporary-buffer " *IMAP alert*" + '(READ-ONLY SHRINK-WINDOW + FLUSH-ON-SPACE) + procedure)) + (define (associate-imail-folder-with-buffer folder buffer) (buffer-put! buffer 'IMAIL-FOLDER folder) (folder-put! folder 'BUFFER buffer)