2000-09-08 Daiki Ueno <ueno@unixuser.org>
+ * wl.el (wl-plugged-init): Refer `wl-plug-state-indicator-on' indirectly.
+ (wl-toggle-plugged): Ditto.
+ (wl-plugged-toggle): Ditto.
+ (wl-plugged-toggle-all): Ditto.
+
* wl-vars.el (wl-plug-state-indicator): Refer
`wl-plug-state-indicator-on' indirectly.
(setq elmo-plugged (setq wl-plugged (elmo-plugged-p)))
(setq wl-plug-state-indicator
(if wl-plugged
- wl-plug-state-indicator-on
- wl-plug-state-indicator-off))
+ 'wl-plug-state-indicator-on
+ 'wl-plug-state-indicator-off))
(if wl-plugged
(wl-toggle-plugged t 'flush))
(force-mode-line-update t))
(if wl-plugged
(progn
;; flush queue!!
- (setq wl-plug-state-indicator wl-plug-state-indicator-on)
+ (setq wl-plug-state-indicator 'wl-plug-state-indicator-on)
(elmo-dop-queue-flush)
(if (and wl-draft-enable-queuing
wl-auto-flush-queue)
(wl-summary-flush-pending-append-operations seen-list))
(elmo-msgdb-seen-save msgdb-dir seen-list)))
(run-hooks 'wl-plugged-hook))
- (setq wl-plug-state-indicator wl-plug-state-indicator-off)
+ (setq wl-plug-state-indicator 'wl-plug-state-indicator-off)
(run-hooks 'wl-unplugged-hook))
(force-mode-line-update t))
(setq wl-plugged-switch (elmo-plugged-p))
(setq wl-plug-state-indicator
(if wl-plugged-switch
- wl-plug-state-indicator-on
- wl-plug-state-indicator-off))
+ 'wl-plug-state-indicator-on
+ 'wl-plug-state-indicator-off))
(force-mode-line-update t))))))
(setq wl-plugged-alist-modified t)
(goto-char cur-point)))
;; change wl-plug-state-indicator
(setq wl-plug-state-indicator
(if wl-plugged-switch
- wl-plug-state-indicator-on
- wl-plug-state-indicator-off))
+ 'wl-plug-state-indicator-on
+ 'wl-plug-state-indicator-off))
(force-mode-line-update t)))
(defun wl-plugged-exit ()