Call wl-folder-init when wl-folder-entity is nil.
* wl.el (wl): Change accordingly.
+2004-05-17 Yoichi NAKAYAMA <yoichi@geiin.org>
+
+ * wl-folder.el (wl-folder): Abolish unused argument.
+ Call wl-folder-init when wl-folder-entity is nil.
+ * wl.el (wl): Change accordingly.
+
2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* wl-draft.el (wl-draft-yank-from-mail-reply-buffer): Convert to
(wl-append wl-folder-petname-alist
(list (cons realname petname)))))
-(defun wl-folder (&optional arg)
- (interactive "P")
+(defun wl-folder ()
(let (initialize folder-buf)
(if (setq folder-buf (get-buffer wl-folder-buffer-name))
(if wl-folder-use-frame
(set-buffer wl-folder-buffer-name)
(wl-folder-mode)
;; Initialization.
+ (unless wl-folder-entity
+ (wl-folder-init))
(setq wl-folder-entity-id 0)
(wl-folder-entity-assign-id wl-folder-entity)
(setq wl-folder-entity-hashtb
(interactive "P")
(unless wl-init
(wl-load-profile)
- (wl-folder-init)
(elmo-init))
(let (demo-buf check)
(unless wl-init
(wl-check-variables-2)
(message "Checking type of variables...done")))
(let ((inhibit-quit t))
- (wl-plugged-init (wl-folder arg)))
+ (wl-plugged-init (wl-folder)))
(unless arg
(run-hooks 'wl-auto-check-folder-pre-hook)
(wl-folder-auto-check)