commit 10c9d7c8eed928c88a896310c882e3af4d8d0f61
parent 8bc54b6c1a7ac70c4d871ba9e2313035465e18b1
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Fri, 30 Aug 2019 17:48:07 +0300
org-download.el (org-download-annotate-default): Insert newline
* org-download.el (org-download-insert-link): Don't automatically
insert newline.
Re #81
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/org-download.el b/org-download.el
@@ -351,7 +351,7 @@ The screenshot tool is determined by `org-download-screenshot-method'."
(defun org-download-annotate-default (link)
"Annotate LINK with the time of download."
- (format "#+DOWNLOADED: %s @ %s"
+ (format "#+DOWNLOADED: %s @ %s\n"
link
(format-time-string "%Y-%m-%d %H:%M:%S")))
@@ -457,7 +457,6 @@ It's inserted before the image link and is used to annotate it.")
(delete-region (match-beginning 0) (match-end 0))
(newline))
(insert (funcall org-download-annotate-function link))
- (insert "\n")
(dolist (attr org-download-image-attr-list)
(insert attr "\n"))
(insert (if (= org-download-image-html-width 0)