+1998-12-12 Tsukamoto Tetsuo <czkmt@remus.dti.ne.jp>
+
+ * lisp/gnus-offline.el (gnus-offline-define-menu-on-miee): Bug
+ fix.
+ (gnus-offline-set-offline-sendmail-function): Bug fix.
+
1998-12-11 Tatsuya Ichikawa <t-ichi@po.shiojiri.ne.jp>
* lisp/gnus-offline.el (gnus-offline-define-menu-on-miee): Change
;;; gnus-offline.el --- To process mail & news at offline environment.
-;;; $Id: gnus-offline.el,v 1.1.2.5.2.16 1998-12-11 02:06:34 ichikawa Exp $
+;;; $Id: gnus-offline.el,v 1.1.2.5.2.17 1998-12-11 15:43:46 ichikawa Exp $
;;; Copyright (C) 1998 Tatsuya Ichikawa
;;; Yukihiro Ito
(defun gnus-offline-set-offline-sendmail-function ()
"*Initialize sendmail-function when unplugged status."
(if (eq gnus-offline-drafts-queue-type 'miee)
- (if (eq gnus-offline-news-fetch-method 'nnagent)
- (setq gnus-agent-send-mail-function 'sendmail-to-spool-in-gnspool-format))
- (setq message-send-mail-function 'sendmail-to-spool-in-gnspool-format)
- (setq gnus-agent-send-mail-function message-send-mail-function
+ (progn
+ (if (eq gnus-offline-news-fetch-method 'nnagent)
+ (setq gnus-agent-send-mail-function 'sendmail-to-spool-in-gnspool-format))
+ (setq message-send-mail-function 'sendmail-to-spool-in-gnspool-format))
+ (setq gnus-agent-send-mail-function (gnus-offline-set-online-sendmail-function)
message-send-mail-function 'gnus-agent-send-mail)))
;;
(defun gnus-offline-set-online-sendmail-function ()
["Expire articles" gnus-offline-agent-expire (eq gnus-offline-news-fetch-method 'nnagent)]
["Set interval time" gnus-offline-set-interval-time t]
"----"
- ["Hang up Line." gnus-offline-set-unplugged-state (gnus-offline-connected)]
+ ["Hang up Line." gnus-offline-set-unplugged-state gnus-offline-connected]
))))
;;
;; define menu without miee.
["Expire articles" gnus-offline-agent-expire (eq gnus-offline-news-fetch-method 'nnagent)]
["Set interval time" gnus-offline-set-interval-time t]
"----"
- ["Hang up Line." gnus-offline-set-unplugged-state (gnus-offline-connected)]))
+ ["Hang up Line." gnus-offline-set-unplugged-state gnus-offline-connected]))
(and (featurep 'xemacs)
(easy-menu-add gnus-offline-menu-on-agent)))
\f