Ensure params are incorporated *before* checking if evaluation is legal
* lisp/ob.el (org-babel-execute-src-block): Ensure params are incorporated *before* checking if evaluation is legal.
This commit is contained in:
parent
5a0bf5e7d1
commit
97e8e03eea
|
@ -476,7 +476,10 @@ the header arguments specified at the front of the source code
|
||||||
block."
|
block."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((info (or info (org-babel-get-src-block-info))))
|
(let ((info (or info (org-babel-get-src-block-info))))
|
||||||
(when (org-babel-confirm-evaluate info)
|
(when (org-babel-confirm-evaluate
|
||||||
|
(let ((i info))
|
||||||
|
(setf (nth 2 i) (org-babel-merge-params (nth 2 info) params))
|
||||||
|
i))
|
||||||
(let* ((lang (nth 0 info))
|
(let* ((lang (nth 0 info))
|
||||||
(params (if params
|
(params (if params
|
||||||
(org-babel-process-params
|
(org-babel-process-params
|
||||||
|
|
Loading…
Reference in New Issue