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>.
This commit is contained in:
parent
3eca0bc307
commit
5fdc6d8357
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue