org-babel: bug fix, now possible to evaluate source blocks before the first heading
This commit is contained in:
parent
da2a88c3ae
commit
4b6d270b16
|
@ -494,7 +494,9 @@ may be specified in the properties of the current outline entry."
|
|||
(delq nil
|
||||
(mapcar
|
||||
(lambda (header-arg)
|
||||
(let ((val (or (org-entry-get (point) header-arg 'selective)
|
||||
(let ((val (or (condition-case nil
|
||||
(org-entry-get (point) header-arg 'selective)
|
||||
(error nil))
|
||||
(cdr (assoc header-arg org-file-properties)))))
|
||||
(when val
|
||||
;; (message "param-from-property %s=%s" header-arg val) ;; debugging statement
|
||||
|
|
Loading…
Reference in New Issue