diff options
author | Kyle Meyer <kyle@kyleam.com> | 2022-12-10 16:59:46 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2022-12-10 16:59:46 -0500 |
commit | 01154166057e7cf289318a8cfa4d43716f26ca20 (patch) | |
tree | 79dcc7b1c12e53ae852ae556541931fdd1a7ae66 /lisp/org/ob-core.el | |
parent | 26a8644a58768281bae249121f4f18d7b0661c44 (diff) | |
download | emacs-01154166057e7cf289318a8cfa4d43716f26ca20.tar.gz emacs-01154166057e7cf289318a8cfa4d43716f26ca20.tar.bz2 emacs-01154166057e7cf289318a8cfa4d43716f26ca20.zip |
Update to Org 9.6-31-g954a95
Diffstat (limited to 'lisp/org/ob-core.el')
-rw-r--r-- | lisp/org/ob-core.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index 5b78ee946ff..f69538f78c9 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el @@ -2709,7 +2709,9 @@ specified as an an \"attachment:\" style link." ((and 'attachment (guard in-attach-dir)) "attachment") (_ "file")) (if (and request-attachment in-attach-dir) - (file-relative-name result-file-name) + (file-relative-name + result-file-name + (file-name-as-directory attach-dir)) (if (and default-directory base-file-name same-directory?) (if (eq org-link-file-path-type 'adaptive) |