From 0d5a9286069e1bb3779644f61c7c3a6d29ff5381 Mon Sep 17 00:00:00 2001 From: bg66 Date: Fri, 16 Feb 2007 00:59:16 +0000 Subject: [PATCH] * mixi-gnus.el: Avoid errors and warnings when compiling. * mixi-wl.el: Ditto. --- ChangeLog | 6 ++++++ mixi-gnus.el | 13 ++++++++++++- mixi-wl.el | 14 +++++++++++++- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3f31377..5b83982 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-16 OHASHI Akira + + * mixi-gnus.el: Avoid errors and warnings when compiling. + + * mixi-wl.el: Ditto. + 2007-02-07 OHASHI Akira * mixi.el (mixi-url-retrieve): Don't show status to minibuffer. diff --git a/mixi-gnus.el b/mixi-gnus.el index 77b7312..82fb1cc 100644 --- a/mixi-gnus.el +++ b/mixi-gnus.el @@ -35,7 +35,18 @@ ;;; 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." diff --git a/mixi-wl.el b/mixi-wl.el index 7ff0630..d4bf6e9 100644 --- a/mixi-wl.el +++ b/mixi-wl.el @@ -35,7 +35,19 @@ ;;; 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") -- 1.7.10.4