diff options
author | Eric Schulte <eric.schulte@gmx.com> | 2012-01-20 11:44:12 -0700 |
---|---|---|
committer | Eric Schulte <eric.schulte@gmx.com> | 2012-01-20 11:44:12 -0700 |
commit | 97e8e03eea0f4f69377df37548a0e51d0cb5ecec (patch) | |
tree | a1894eb309931add3570ed887934f908ec57abb4 | |
parent | 5a0bf5e7d18449ccf0e49b015bc0de48ace7074c (diff) | |
download | org-mode-97e8e03eea0f4f69377df37548a0e51d0cb5ecec.tar.gz |
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.
-rw-r--r-- | lisp/ob.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -476,7 +476,10 @@ the header arguments specified at the front of the source code block." (interactive) (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)) (params (if params (org-babel-process-params |