mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
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
@ -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…
Reference in New Issue
Block a user