wl-mime.el (wl-mime-save-content): Fix incorrect usage of `read-file-name'.
authordmaus <dmaus>
Sun, 12 Feb 2012 13:56:01 +0000 (13:56 +0000)
committerdmaus <dmaus>
Sun, 12 Feb 2012 13:56:01 +0000 (13:56 +0000)
commiteda5297f9ab640468905b55fde6f9fb8d8f8e421
treecdf0a892e5437b3055b139ee6afc3a0dce73b65d
parent7cbfe0393431e873e6679ba985a7c8b646982cf7
wl-mime.el (wl-mime-save-content): Fix incorrect usage of `read-file-name'.

* wl-mime.el (wl-mime-save-content): Fix incorrect usage of
`read-file-name'.

Function signature is

(read-file-name PROMPT &optional DIR DEFAULT-FILENAME MUSTMATCH INITIAL PREDICATE)

Passing the full path to the target file as second argument causes
problems with saving attachments when `ido-mode' is enabled. The
function signature didn't change in 22 and as it seems didn't change
in 21 (guessing from the usage, couldn't compile 21 on x64 system).
wl/ChangeLog
wl/wl-mime.el