org-babel-c: cleaning up header arguments
This commit is contained in:
parent
0e8c9f7a49
commit
99a07f1d4a
|
@ -77,11 +77,10 @@ called by `org-babel-execute-src-block'."
|
||||||
(cmdline (cdr (assoc :cmdline params)))
|
(cmdline (cdr (assoc :cmdline params)))
|
||||||
(flags (cdr (assoc :flags params)))
|
(flags (cdr (assoc :flags params)))
|
||||||
(vars (second processed-params))
|
(vars (second processed-params))
|
||||||
(includes (org-babel-read
|
(includes (or (cdr (assoc :includes params))
|
||||||
(or (cdr (assoc :includes params))
|
(org-entry-get nil "includes" t)))
|
||||||
(org-entry-get nil "includes" t))))
|
|
||||||
(defines (org-babel-read
|
(defines (org-babel-read
|
||||||
(or (cdr (assoc :includes params))
|
(or (cdr (assoc :defines params))
|
||||||
(org-entry-get nil "defines" t))))
|
(org-entry-get nil "defines" t))))
|
||||||
(full-body (mapconcat 'identity
|
(full-body (mapconcat 'identity
|
||||||
(list
|
(list
|
||||||
|
|
Loading…
Reference in New Issue