From 930c8a3a2d79fe8d3989668d8fdfe8e1d98db3e0 Mon Sep 17 00:00:00 2001 From: "Brian A. LaMacchia" <edu/mit/csail/zurich/bal> Date: Fri, 23 Aug 1991 18:11:02 +0000 Subject: [PATCH] Fixed a bug in the generation of summary line. Edwin always thought it had to build a new summary line. --- v7/src/edwin/rmailsum.scm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/v7/src/edwin/rmailsum.scm b/v7/src/edwin/rmailsum.scm index 76273a0d0..b7a2e7537 100644 --- a/v7/src/edwin/rmailsum.scm +++ b/v7/src/edwin/rmailsum.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/rmailsum.scm,v 1.5 1991/08/13 02:31:02 cph Exp $ +;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/rmailsum.scm,v 1.6 1991/08/23 18:11:02 bal Exp $ ;;; ;;; Copyright (c) 1991 Massachusetts Institute of Technology ;;; @@ -190,18 +190,13 @@ ""))) (line (begin - (set-current-point! start) - ((ref-command next-line) 1) - (let ((point (current-point))) + (let ((point (line-start start 2))) (if (string-prefix? "Summary-line: " (extract-string point (line-end point 0))) (begin (string-tail - (extract-string point - (begin - ((ref-command next-line) 1) - (current-point))) + (extract-string point (line-start point 1)) 14)) false))))) ;; If we didn't get a valid status line from the message, -- 2.25.1