mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
allow relative file names for :dir
TINYCHANGE * lisp/ob.el (org-babel-execute-src-block): Allow the :dir header argument to take relative file names.
This commit is contained in:
parent
03fbf6b161
commit
343a705ba5
@ -524,7 +524,8 @@ block."
|
||||
(nth 1 info))))
|
||||
(dir (cdr (assoc :dir params)))
|
||||
(default-directory
|
||||
(or (and dir (file-name-as-directory dir)) default-directory))
|
||||
(or (and dir (file-name-as-directory (expand-file-name dir)))
|
||||
default-directory))
|
||||
(org-babel-call-process-region-original
|
||||
(if (boundp 'org-babel-call-process-region-original)
|
||||
org-babel-call-process-region-original
|
||||
|
Loading…
Reference in New Issue
Block a user