From 078cb0751976acc30a16b0e8b1f73bbe8d953289 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 27 Apr 2000 00:28:09 +0000 Subject: [PATCH] Implement IMAIL-PRESENT-USER-ALERT. --- v7/src/imail/imail-top.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.25.1