summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-01-23 19:19:05 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-01-23 19:19:05 +0000
commitee1b0cc07beab20d6c9bb03f8112a467385be1fc (patch)
tree31d828c45dc871f89c4bc0370ba03d0b5e903f57
parent6e77127fbe06f5f34c70600c05ecd025da484855 (diff)
downloademacs-ee1b0cc07beab20d6c9bb03f8112a467385be1fc.tar.gz
emacs-ee1b0cc07beab20d6c9bb03f8112a467385be1fc.tar.bz2
emacs-ee1b0cc07beab20d6c9bb03f8112a467385be1fc.zip
Fix last fix.
-rw-r--r--lisp/mail/rmailkwd.el2
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."
(current rmail-current-message)
(regexp (concat " \\("
(mail-comma-list-regexp labels)
- "\\)")))
+ "\\)\\(,\\|\\'\\)")))
(while (and (> n 0) (< current rmail-total-messages))
(setq current (1+ current))
(if (string-match regexp (rmail-get-labels current))