mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
s/org-attach-directory/org-attach-id-dir
The former is deprecated.
Reported by @myshevchuk in 90ec41c
This commit is contained in:
@ -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)))))
|
||||||
|
Reference in New Issue
Block a user