Merge pull request #2721 from jsravn/fix-org-download-screenshot
Fix inserted filename for org-download-screenshot
This commit is contained in:
commit
90ec41c994
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ an file icon produced by `+org-attach-icon-for')."
|
||||||
(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-directory)
|
||||||
(file-relative-name filename org-download-image-dir))
|
(file-relative-name filename org-attach-directory))
|
||||||
((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