aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2006-03-11 16:18:20 +0000
committerEli Zaretskii <[email protected]>2006-03-11 16:18:20 +0000
commit710cb0d0553152ab4236b4f5c449b14d47d03fa5 (patch)
tree19bfe266dc55ac82fb023126a9b6ec559a606538 /lisp/mail
parentdb3c0e9c358cbea65121d8aef50060537a8c6844 (diff)
(rmail-summary-next-msg): Skip deleted messages, where "D" is the
6th character.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmailsum.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 539a176938..c029e6e226 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -535,7 +535,7 @@ messages, or backward if NUMBER is negative."
(search (if (> number 0) 're-search-forward 're-search-backward))
(non-del-msg-found nil))
(while (and (> count 0) (setq non-del-msg-found
- (or (funcall search "^....[^D]" nil t)
+ (or (funcall search "^.....[^D]" nil t)
non-del-msg-found)))
(setq count (1- count))))
(beginning-of-line)