* mixi.el (mixi-get-matched-items): Fix when MAX-NUMBERS is nil.
authorbg66 <bg66>
Tue, 24 Oct 2006 01:54:16 +0000 (01:54 +0000)
committerbg66 <bg66>
Tue, 24 Oct 2006 01:54:16 +0000 (01:54 +0000)
ChangeLog
mixi.el

index 6e00ba2..c9481b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-10-24  OHASHI Akira  <bg66@koka-in.org>
 
+       * mixi.el (mixi-get-matched-items): Fix when MAX-NUMBERS is nil.
+
+2006-10-24  OHASHI Akira  <bg66@koka-in.org>
+
        * mixi.el (mixi-diary-comment-list-page): Use `%d' instead of `all'
        for page parameter.
        (mixi-topic-comment-list-page): Ditto.
diff --git a/mixi.el b/mixi.el
index ad0f923..758b0e5 100644 (file)
--- a/mixi.el
+++ b/mixi.el
@@ -337,7 +337,7 @@ Increase this value when unexpected error frequently occurs."
        (with-mixi-retrieve (format url page)
          (let ((pos 0))
            (while (and (string-match regexp buffer pos)
-                       (< (length ids) max-numbers))
+                       (or (null max-numbers) (< (length ids) max-numbers)))
              (let ((num 1)
                    list)
                (while (match-string num buffer)