diff options
| -rw-r--r-- | lisp/mail/rmailkwd.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el index 048475233b7..94d67cb3a0b 100644 --- a/lisp/mail/rmailkwd.el +++ b/lisp/mail/rmailkwd.el | |||
| @@ -144,7 +144,7 @@ With prefix argument N moves forward N messages with these labels." | |||
| 144 | (current rmail-current-message) | 144 | (current rmail-current-message) |
| 145 | (regexp (concat " \\(" | 145 | (regexp (concat " \\(" |
| 146 | (mail-comma-list-regexp labels) | 146 | (mail-comma-list-regexp labels) |
| 147 | "\\)"))) | 147 | "\\)\\(,\\|\\'\\)"))) |
| 148 | (while (and (> n 0) (< current rmail-total-messages)) | 148 | (while (and (> n 0) (< current rmail-total-messages)) |
| 149 | (setq current (1+ current)) | 149 | (setq current (1+ current)) |
| 150 | (if (string-match regexp (rmail-get-labels current)) | 150 | (if (string-match regexp (rmail-get-labels current)) |