#| -*-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,
(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))))))
\f
(define (memoize-folder-order order folder)
(let loop ((modification-count (object-modification-count folder)))