s/org-attach-directory/org-attach-id-dir
The former is deprecated.
Reported by @myshevchuk in 90ec41c
This commit is contained in:
parent
83b6f74d11
commit
7d71584a8d
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,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
|
||||||
(cond ((file-in-directory-p filename org-attach-directory)
|
(cond ((file-in-directory-p filename org-attach-id-dir)
|
||||||
(file-relative-name filename org-attach-directory))
|
(file-relative-name filename org-attach-id-dir))
|
||||||
((file-in-directory-p filename org-directory)
|
((file-in-directory-p filename org-directory)
|
||||||
(file-relative-name filename org-directory))
|
(file-relative-name filename org-directory))
|
||||||
(filename)))))
|
(filename)))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue