comparison lisp/mail/rmailsum.el @ 69403:ecd9a20a44b0

(rmail-summary-next-msg): Skip deleted messages, where "D" is the 6th character.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 11 Mar 2006 16:18:20 +0000
parents 067115a6e738
children e3694f1cb928 a802c5505156
comparison
equal deleted inserted replaced
69402:2413e06fae9c 69403:ecd9a20a44b0
533 (and (> number 0) (end-of-line)) 533 (and (> number 0) (end-of-line))
534 (let ((count (if (< number 0) (- number) number)) 534 (let ((count (if (< number 0) (- number) number))
535 (search (if (> number 0) 're-search-forward 're-search-backward)) 535 (search (if (> number 0) 're-search-forward 're-search-backward))
536 (non-del-msg-found nil)) 536 (non-del-msg-found nil))
537 (while (and (> count 0) (setq non-del-msg-found 537 (while (and (> count 0) (setq non-del-msg-found
538 (or (funcall search "^....[^D]" nil t) 538 (or (funcall search "^.....[^D]" nil t)
539 non-del-msg-found))) 539 non-del-msg-found)))
540 (setq count (1- count)))) 540 (setq count (1- count))))
541 (beginning-of-line) 541 (beginning-of-line)
542 (display-buffer rmail-view-buffer)) 542 (display-buffer rmail-view-buffer))
543 543