Fix inline previews for download:* links

This commit is contained in:
Henrik Lissner 2020-04-25 01:23:55 -04:00
parent efee633311
commit adbe9041ce
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 20 additions and 7 deletions

View file

@ -16,7 +16,7 @@
(after! org
;; A shorter link to attachments
(+org-define-basic-link "download" 'org-download-image-dir
(+org-define-basic-link "download" (lambda () (or org-download-image-dir org-attach-id-dir "."))
:image-data-fun #'+org-image-file-data-fn
:requires 'org-download))
:config