;;; 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")
(point-max))
wl-mime-charset))
(wl-draft-set-sent-message 'mail 'sent)
- (wl-draft-write-sendlog 'ok 'mixi nil recipients id))))
+ (wl-draft-write-sendlog 'ok 'mixi nil (list recipients) id))))
(defun mixi-wl-setup-draft-buffer ()
(when (string-match shimbun-mixi-to-regexp