* wl-summary.el (wl-summary-sync): Fix regexp for last: and first:.
[elisp/wanderlust.git] / wl / wl-summary.el
index c81adfd..fb9c830 100644 (file)
@@ -1181,8 +1181,8 @@ Entering Folder mode calls the value of `wl-summary-mode-hook'."
             (wl-summary-resume-cache-status)
             (and msg (wl-summary-jump-to-msg msg))))
          ((string= range "no-sync"))
-         ((or (string-match "last:" range)
-              (string-match "first:" range))
+         ((or (string-match "^last:" range)
+              (string-match "^first:" range))
           (wl-summary-goto-folder-subr (concat "/" range "/"
                                                (elmo-folder-name-internal
                                                 folder))