From 53115e33ecfae125bf005e95b05f48e80e41db74 Mon Sep 17 00:00:00 2001 From: teranisi Date: Wed, 30 Jul 2003 13:30:53 +0000 Subject: [PATCH] * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews instead of number-alist. --- elmo/ChangeLog | 3 +++ elmo/elmo-msgdb.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 9533fab..c6cd733 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,5 +1,8 @@ 2003-07-30 Yuuichi Teranishi + * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews + instead of number-alist. + * elmo-localdir.el (elmo-folder-append-messages): Don't refer mark nor message-id when msgdb of source folder is not loaded. diff --git a/elmo/elmo-msgdb.el b/elmo/elmo-msgdb.el index 49f1b45..14dca36 100644 --- a/elmo/elmo-msgdb.el +++ b/elmo/elmo-msgdb.el @@ -184,7 +184,8 @@ (defun elmo-msgdb-list-messages (msgdb) "List message numbers in the MSGDB." - (mapcar 'car (elmo-msgdb-get-number-alist msgdb))) + (mapcar 'elmo-msgdb-overview-entity-get-number + (elmo-msgdb-get-overview msgdb))) (defsubst elmo-msgdb-get-mark (msgdb number) "Get mark string from MSGDB which corresponds to the message with NUMBER." -- 1.7.10.4