ob: Allow ":header-arg-name" as matching property name.

* lisp/ob.el (org-babel-params-from-properties): Test for
"header-arg-name" and ":header-arg-name", in that order.
This commit is contained in:
Dan Davison 2011-02-12 18:26:10 +00:00
parent 08650cbb5c
commit 934e6b0510
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ may be specified in the properties of the current outline entry."
(lambda (header-arg)
(and (setq val
(or (org-entry-get (point) header-arg t)
(cdr (assoc header-arg org-file-properties))))
(org-entry-get (point) (concat ":" header-arg) t)))
(cons (intern (concat ":" header-arg))
(org-babel-read val))))
(mapcar