From d4f713cac1ddd94f6ae17b0ab20c5c34df651839 Mon Sep 17 00:00:00 2001 From: yoichi Date: Sun, 16 Feb 2003 08:09:31 +0000 Subject: [PATCH] * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of flist, is not always a member of onum-alist. --- elmo/ChangeLog | 5 +++++ elmo/elmo-localdir.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 4a585d2..dd9db82 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2003-02-16 Yoichi NAKAYAMA + + * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of + flist, is not always a member of onum-alist. + 2003-02-14 Yoichi NAKAYAMA * elmo-version.el (elmo-version): Up to 2.11.3. diff --git a/elmo/elmo-localdir.el b/elmo/elmo-localdir.el index 3ab93a0..f030437 100644 --- a/elmo/elmo-localdir.el +++ b/elmo/elmo-localdir.el @@ -355,7 +355,8 @@ (elmo-msgdb-overview-get-entity onum msgdb) new-number) ;; update number-alist - (setcar (assq onum onum-alist) new-number)) + (and (assq onum onum-alist) + (setcar (assq onum onum-alist) new-number))) ;; update mark-alist (when (setq mark (cadr (assq onum omark-alist))) (setq new-mark-alist -- 1.7.10.4