* mu4e-view.el: fix overwriting existing file (attachment)

This commit is contained in:
djcb 2012-05-11 10:32:18 +03:00
parent 202b75cb1e
commit a6f7f98f04
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ message-at-point if nil) to disk."
(mu4e-format "Save as ") path)))
(setq retry
(and (file-exists-p path)
(not (y-or-n-p (mu4e-format "Overwrite '%s'?"))))))
(not (y-or-n-p (mu4e-format "Overwrite '%s'?" path))))))
(mu4e~proc-extract
'save (plist-get msg :docid) index path)))