[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5fdc6d83571: Fix Rmail summary by thread
From: |
Eli Zaretskii |
Subject: |
master 5fdc6d83571: Fix Rmail summary by thread |
Date: |
Sat, 11 May 2024 05:17:50 -0400 (EDT) |
branch: master
commit 5fdc6d835710512921cb46cd8ef55bd0052c4e01
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix Rmail summary by thread
* lisp/mail/rmailsum.el (rmail-summary-by-thread): Use value of
'rmail-total-messages' local to 'rmail-buffer'. Patch by Andrea
Monaco <andrea.monaco@autistici.org>.
---
lisp/mail/rmailsum.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 48c5cb70b33..d2dcedce93e 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -437,7 +437,9 @@ headers of the messages."
(= (length rmail-summary-message-parents-vector)
(1+ rmail-total-messages)))
(rmail-summary-fill-message-parents-and-descs-vectors)))
- (let ((enc-msgs (make-bool-vector (1+ rmail-total-messages) nil)))
+ (let ((enc-msgs
+ (with-current-buffer rmail-buffer
+ (make-bool-vector (1+ rmail-total-messages) nil))))
(rmail-summary--walk-thread-message-recursively msgnum enc-msgs)
(rmail-new-summary (format "thread containing message %d" msgnum)
(list 'rmail-summary-by-thread msgnum)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5fdc6d83571: Fix Rmail summary by thread,
Eli Zaretskii <=