commit 234a398fe3393959609697b6a59812782e203d9c
parent f4c33d33bc7775683a14bb6d43d746943303769d
Author: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Fri, 18 Oct 2013 12:37:26 +0200
Use write-region instead of write-file
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -114,7 +114,7 @@ custom variables."
(progn
(re-search-forward "\n\n" nil 'move)
(point)))
- (write-file filename (current-buffer))
+ (write-region nil nil filename nil nil nil 'confirm)
(with-current-buffer buffer
(org-display-inline-images)))
(list