* mixi-wl.el: Ditto.
+2007-02-16 OHASHI Akira <bg66@koka-in.org>
+
+ * mixi-gnus.el: Avoid errors and warnings when compiling.
+
+ * mixi-wl.el: Ditto.
+
2007-02-07 OHASHI Akira <bg66@koka-in.org>
* mixi.el (mixi-url-retrieve): Don't show status to minibuffer.
;;; Code:
(require 'sb-mixi)
-(require 'message)
+
+;; Functions and variables which should be defined in the other module
+;; at run-time.
+(eval-when-compile
+ (defvar message-this-is-news)
+ (defvar message-sent-message-via)
+ (defvar message-send-method-alist)
+ (autoload 'message-narrow-to-headers "message")
+ (autoload 'message-fetch-field "message")
+ (autoload 'message-generate-new-buffer-clone-locals "message")
+ (autoload 'message-goto-body "message")
+ (autoload 'mml-buffer-substring-no-properties-except-hard-newlines "mml"))
(defun message-mixi-p ()
"Say whether the current buffer contains a mixi message."
;;; Code:
(require 'sb-mixi)
-(require 'wl-draft)
+
+;; Functions and variables which should be defined in the other module
+;; at run-time.
+(eval-when-compile
+ (defvar mail-header-separator)
+ (defvar wl-mime-charset)
+ (defvar wl-draft-send-confirm-with-preview)
+ (defvar wl-draft-send-mail-function)
+ (autoload 'std11-field-body "std11")
+ (autoload 'eword-decode-string "eword-decode")
+ (autoload 'wl-draft-set-sent-message "wl-draft")
+ (autoload 'wl-draft-write-sendlog "wl-draft")
+ (autoload 'decode-mime-charset-string "mcharset"))
(defsubst mixi-wl-get-recipients-from-buffer ()
(or (std11-field-body "mixi-to")