changeset 101414:2614891fe7fd

Fix last fix.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 23 Jan 2009 19:19:05 +0000
parents 7030664ae12c
children bb26b506bbc3
files lisp/mail/rmailkwd.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailkwd.el	Fri Jan 23 19:09:55 2009 +0000
+++ b/lisp/mail/rmailkwd.el	Fri Jan 23 19:19:05 2009 +0000
@@ -144,7 +144,7 @@
 	(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))