org-download

a fork of abo-abo's org-download
git clone https://git.trogloxene.org/org-download.git
Log | Files | Refs | README

commit 947ca223643d28e189480e607df68449c15786cb
parent 97bec7412e1a4d6e9031c7a0568d0f065cd9fd00
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date:   Mon, 18 Jan 2021 10:58:37 +0100

org-download.el (org-download-image): Fix dnd to dired

Diffstat:
Morg-download.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-download.el b/org-download.el @@ -506,7 +506,7 @@ It's inserted before the image link and is used to annotate it.") (interactive "sUrl: ") (let* ((link-and-ext (org-download--parse-link link)) (filename - (cond ((eq org-download-method 'attach) + (cond ((and (eq major-mode 'org-mode) (eq org-download-method 'attach)) (let ((org-download-image-dir (org-attach-dir t)) org-download-heading-lvl) (apply #'org-download--fullname link-and-ext)))