From a949ee66522a753890d6dafe1ee8f963ebc856ea Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 18 Aug 2000 16:55:20 +0000 Subject: [PATCH] Fix bug: copying messages from IMAP folder to umail folder didn't work, because that operation depended on being able to get the message body as a string. But the operation that provided the message body in that format was eliminated. --- v7/src/imail/imail-file.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/v7/src/imail/imail-file.scm b/v7/src/imail/imail-file.scm index 6f8b83832..6bff833d2 100644 --- a/v7/src/imail/imail-file.scm +++ b/v7/src/imail/imail-file.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-file.scm,v 1.58 2000/08/05 02:00:10 cph Exp $ +;;; $Id: imail-file.scm,v 1.59 2000/08/18 16:55:20 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -321,6 +321,11 @@ (define-class () (body define accessor)) +(define-method file-message-body ((message )) + (with-string-output-port + (lambda (port) + (write-message-body message port)))) + (define-method write-message-body ((message ) port) (write-string (file-message-body message) port)) @@ -346,7 +351,6 @@ winner))) winner)) (message-time headers))) - (define (received-header-time header) (let ((time -- 2.25.1