]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last fix.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 19:19:05 +0000 (19:19 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 19:19:05 +0000 (19:19 +0000)
lisp/mail/rmailkwd.el

index 048475233b7987ff4e6e086502d1232ef62f2e2d..94d67cb3a0b60ed166f0f3bcff0ad5c6051890a3 100644 (file)
@@ -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))