+2002-03-04 Mito <mito@mxa.nes.nec.co.jp>
+
+ * wl-mime.el (wl-mime-save-content): Don't save if answered "no".
+
2002-02-28 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
* wl.el (wl-check-environment): Also cause error when (system-name)
(while (file-directory-p filename)
(setq filename (read-file-name "Please set filename (not directory): "
filename)))
- (if (file-exists-p filename)
- (or (yes-or-no-p (format "File %s exists. Save anyway? " filename))
- (message "Not saved")))
- (setq wl-mime-save-directory (file-name-directory filename))
- (mime-write-entity-content entity filename)))
+ (if (and (file-exists-p filename)
+ (not (yes-or-no-p (format "File %s exists. Save anyway? "
+ filename))))
+ (message "Not saved")
+ (setq wl-mime-save-directory (file-name-directory filename))
+ (mime-write-entity-content entity filename))))
;;; Yet another combine method.
(defun wl-mime-combine-message/partial-pieces (entity situation)