From dcce97b5a4dc39d3d45b9eea47d664369e17341b Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Tue, 12 Feb 2008 00:37:54 +0000 Subject: [PATCH] Fix bug in last commit. %MESSAGE-ORDER-KEY yields a pair of the key and index already, so MESSAGE-ORDER-KEY doesn't need to add the index. --- v7/src/imail/imail-core.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/v7/src/imail/imail-core.scm b/v7/src/imail/imail-core.scm index 264a9dde1..ba689d7b9 100644 --- a/v7/src/imail/imail-core.scm +++ b/v7/src/imail/imail-core.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: imail-core.scm,v 1.167 2008/02/11 22:48:02 riastradh Exp $ +$Id: imail-core.scm,v 1.168 2008/02/12 00:37:54 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -802,8 +802,7 @@ USA. (let ((order (folder-order folder))) (if (not order) #f - (let ((index (%message-index message))) - (cons (%message-order-key message order index) index)))))) + (%message-order-key message order (%message-index message)))))) (define (memoize-folder-order order folder) (let loop ((modification-count (object-modification-count folder))) -- 2.25.1