commit c63b057e84b8ba1e7c969391a0263f7d0ce936e4
parent bbfca2fe4149f21105c70d3df76bb789b3868643
Author: lornix <lorniu@gmail.com>
Date: Fri, 3 Feb 2017 01:27:16 +0800
fix for org-download--delete
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -392,7 +392,7 @@ When TIMES isn't nil, delete only TIMES links."
(save-excursion
(goto-char beg)
(while (and (>= (decf times) 0)
- (re-search-forward "\\[\\[\\([^]]*\\)\\]\\]" end t))
+ (re-search-forward "\\[\\[file:\\([^]]*\\)\\]\\]" end t))
(let ((str (match-string-no-properties 1)))
(delete-region beg
(match-end 0))