projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72db8a
)
Fix filing messages when 'rmail-output-reset-deleted-flag' is non-nil
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 28 Nov 2020 17:05:18 +0000
(19:05 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 28 Nov 2020 17:05:18 +0000
(19:05 +0200)
* 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)
lisp/mail/rmailout.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailout.el
b/lisp/mail/rmailout.el
index 49531eab91e0c8a31caed13ba53f473921de8785..cfde335b54f83a474e542880209a48a53bc8f7a3 100644
(file)
--- a/
lisp/mail/rmailout.el
+++ b/
lisp/mail/rmailout.el
@@
-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)))))