Commit 545c4d59 authored by G. Jay Kerns's avatar G. Jay Kerns Committed by GitHub

Merge pull request #7 from nico202/master

Fixes on org mode > 9.0
parents 8be42098 f202d0bc
......@@ -102,7 +102,9 @@ This function is called by `org-babel-execute-src-block'."
(defun org-babel-variable-assignments:julia (params)
"Return list of julia statements assigning the block's variables."
(let ((vars (mapcar #'cdr (org-babel-get-header params :var))))
(let ((vars (if (fboundp 'org-babel-get-header)
(mapcar #'cdr (org-babel-get-header params :var))
(mapcar #'cdr (org-babel--get-vars params)))))
(lambda (pair)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment