+2002-04-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * wl-draft.el (wl-draft-mimic-kill-buffer): Don't save draft.
+
2002-04-23 Yuuichi Teranishi <teranisi@gohome.org>
* wl.el (wl): inhibit-quit while wl-folder.
(let ((bufname (read-buffer (format "Kill buffer: (default %s) "
(buffer-name))))
wl-draft-use-frame)
- (if (or (not bufname)
+ (when (or (not bufname)
(string-equal bufname "")
(string-equal bufname (buffer-name)))
- (wl-draft-save-and-exit)
- (kill-buffer bufname))))
+ (setq bufname (current-buffer))
+ (wl-draft-hide bufname))
+ (kill-buffer bufname)))
(defun wl-draft-save-and-exit ()
"Save current draft and exit current draft mode."