summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2011-02-12 18:26:10 +0000
committerDan Davison <dandavison7@gmail.com>2011-02-12 18:26:10 +0000
commit934e6b051063c1cdde87f6e0c24102876fcc4ef0 (patch)
treeb80bdeb5ec7994663f7abebe4a83741ce330a182
parent08650cbb5c814858e0a3864320ff96895e7def9c (diff)
downloadorg-mode-934e6b051063c1cdde87f6e0c24102876fcc4ef0.tar.gz
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.
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 44808fa..aa804cd 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -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