commit 7f50ea2973e0de8fc4bcec293747449a097c9153
parent 734e22acfad4154b4fb92226a3825b46d74e7d10
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Tue, 2 Aug 2016 13:31:18 +0200
org-download.el (org-download-edit): Add url-unhex-string
Fixes #32
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -360,7 +360,8 @@ It's inserted before the image link and is used to annotate it.")
(start-process-shell-command
"org-download-edit"
"org-download-edit"
- (format org-download-edit-cmd (plist-get (cadr context) :path))))))
+ (format org-download-edit-cmd
+ (url-unhex-string (plist-get (cadr context) :path)))))))
(defun org-download--delete (beg end &optional times)
"Delete inline image links and the files they point to between BEG and END.