Babel: complete fix for priority order of header arguments from e79e8943de

* lisp/ob-core.el (org-babel-parse-inline-src-block-match),
  lisp/ob-exp.el (org-babel-exp-src-block): Give header arguments from
  properties priority over default header arguments.

The previous commit e79e8943de did fix this only in
ob-core.el (org-babel-parse-src-block-match).  It was already correct
in ob-lob.el (org-babel-lob-execute).
This commit is contained in:
Achim Gratz 2013-05-18 12:05:20 +02:00
parent a5872b9eca
commit 3768cec391
2 changed files with 2 additions and 2 deletions

View File

@ -1344,8 +1344,8 @@ may be specified in the properties of the current outline entry."
(org-unescape-code-in-string (org-no-properties (match-string 5)))
(org-babel-merge-params
org-babel-default-inline-header-args
(org-babel-params-from-properties lang)
(if (boundp lang-headers) (eval lang-headers) nil)
(org-babel-params-from-properties lang)
(org-babel-parse-header-arguments
(org-no-properties (or (match-string 4) "")))))))

View File

@ -124,8 +124,8 @@ Assume point is at the beginning of block's starting line."
(org-babel-process-params
(org-babel-merge-params
org-babel-default-header-args
(org-babel-params-from-properties lang)
(if (boundp lang-headers) (eval lang-headers) nil)
(org-babel-params-from-properties lang)
raw-params))))
(setf hash (org-babel-sha1-hash info)))
(org-babel-exp-do-export info 'block hash)))))