* mixi.el: Try to require `url' and `w3m'.
authorbg66 <bg66>
Mon, 23 Oct 2006 06:28:55 +0000 (06:28 +0000)
committerbg66 <bg66>
Mon, 23 Oct 2006 06:28:55 +0000 (06:28 +0000)
(mixi-get-comments): Fix typo.

ChangeLog
mixi.el

index 913a654..bd5c044 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-10-23  OHASHI Akira  <bg66@koka-in.org>
 
+       * mixi.el: Try to require `url' and `w3m'.
+       (mixi-get-comments): Fix typo.
+
+2006-10-23  OHASHI Akira  <bg66@koka-in.org>
+
        * mixi.el (mixi-retrieve-function): New user option.
        (mixi-retrieve): Abolish.
        (mixi-w3-retrieve): New function.
diff --git a/mixi.el b/mixi.el
index 3849ad5..9755b99 100644 (file)
--- a/mixi.el
+++ b/mixi.el
@@ -98,8 +98,9 @@
 
 ;;; Code:
 
+(require 'url "url" t)
+(require 'w3m "w3m" t)
 (eval-when-compile (require 'cl))
-(autoload 'w3m-expand-url "w3m" nil t)
 
 (defgroup mixi nil
   "API library for accessing to mixi."
@@ -1385,7 +1386,7 @@ Increase this value when unexpected error frequently occurs."
 (defun mixi-get-comments (parent)
   "Get comments of PARENT."
   (unless (mixi-object-p parent)
-    (signal 'wrong-type-argument (list 'mixi-object-p object)))
+    (signal 'wrong-type-argument (list 'mixi-object-p parent)))
   (let* ((name (mixi-object-name parent))
         (list-page (intern (concat mixi-object-prefix name
                                    "-comment-list-page")))