Define HEADER-FIELDS->LINES.
authorChris Hanson <org/chris-hanson/cph>
Thu, 20 Jan 2000 17:46:52 +0000 (17:46 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 20 Jan 2000 17:46:52 +0000 (17:46 +0000)
v7/src/imail/imail-core.scm

index 2b1a8c2bf416dc76ec389dd0adae1a215cdd9a0d..19cf1b28297dfb3b2f61bde512c74a5bb7d4be9d 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-core.scm,v 1.17 2000/01/20 17:44:20 cph Exp $
+;;; $Id: imail-core.scm,v 1.18 2000/01/20 17:46:52 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
                                     (string-append "\n" line))
                                   (cdr lines))))))
 
+(define (header-fields->lines headers)
+  (append-map! header-field->lines headers))
+
 (define (lines->header-fields lines)
-  (map lines->header-field
-       (burst-list lines header-field-initial-line?)))
+  (map lines->header-field (burst-list lines header-field-initial-line?)))
 
 (define (header-field-initial-line? line)
   (let ((colon (string-find-next-char line #\:)))