Fix filing messages when 'rmail-output-reset-deleted-flag' is non-nil
* lisp/mail/rmailout.el (rmail-output): Fix off-by-one error in deciding when to advance to the next message under non-nil 'rmail-output-reset-deleted-flag'. (Bug#44839)
This commit is contained in:
parent
a72db8ab8b
commit
2cdf1fd261
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ from a non-Rmail buffer. In this case, COUNT is ignored."
|
|||
(progn
|
||||
(if rmail-delete-after-output
|
||||
(rmail-delete-message))
|
||||
(if (> count 0)
|
||||
(if (>= count 0)
|
||||
(let ((msgnum rmail-current-message))
|
||||
(rmail-next-message 1)
|
||||
(eq rmail-current-message (1+ msgnum)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue