Sfoglia il codice sorgente

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.
Dan Davison 14 anni fa
parent
commit
934e6b0510
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/ob.el

+ 1 - 1
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