commit 115433394221da8071dedf7e3f056e37f097a272
parent ec2dc69b7a49054bc0d34c6533cdcadba708db67
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Wed, 7 Sep 2016 19:21:28 +0200
Revert "org-download-image: interactive input with name completion"
This reverts commit ec2dc69b7a49054bc0d34c6533cdcadba708db67.
Fixes #36
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/org-download.el b/org-download.el
@@ -278,9 +278,7 @@ It's inserted before the image link and is used to annotate it.")
(defun org-download-image (link)
"Save image at address LINK to `org-download--dir'."
- (interactive
- (list
- (read-file-name "Open file:")))
+ (interactive "sUrl: ")
(let (ext)
(unless (image-type-from-file-name link)
(with-current-buffer (url-retrieve-synchronously link t)