Commit f202d0bc authored by Nicolò Balzarotti's avatar Nicolò Balzarotti

Fixes on org mode > 9.0

parent 8be42098
......@@ -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