Base org-download links off of org-download-image-dir
This commit is contained in:
parent
211519270a
commit
903460cd10
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ an file icon produced by `+org-attach-icon-for')."
|
||||||
(if (= org-download-image-org-width 0) ""
|
(if (= org-download-image-org-width 0) ""
|
||||||
(format "#+attr_org: :width %dpx\n" org-download-image-org-width))
|
(format "#+attr_org: :width %dpx\n" org-download-image-org-width))
|
||||||
(format org-download-link-format
|
(format org-download-link-format
|
||||||
(if (file-in-directory-p filename org-attach-id-dir)
|
(if (file-in-directory-p filename org-download-image-dir)
|
||||||
(file-relative-name filename org-attach-id-dir)
|
(file-relative-name filename org-download-image-dir)
|
||||||
filename))))
|
filename))))
|
||||||
(org-display-inline-images))
|
(org-display-inline-images))
|
||||||
((insert
|
((insert
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue