Function: org-babel-params-from-properties

org-babel-params-from-properties is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-params-from-properties &optional LANG NO-EVAL)

Documentation

Retrieve source block parameters specified as properties.

LANG is the language of the source block, as a string. When optional argument NO-EVAL is non-nil, do not evaluate Lisp values in parameters.

Return a list of association lists of source block parameters specified in the properties of the current outline entry.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-params-from-properties (&optional lang no-eval)
  "Retrieve source block parameters specified as properties.

LANG is the language of the source block, as a string.  When
optional argument NO-EVAL is non-nil, do not evaluate Lisp values
in parameters.

Return a list of association lists of source block parameters
specified in the properties of the current outline entry."
  (save-match-data
    (list
     ;; Header arguments specified with the header-args property at
     ;; point of call.
     (org-babel-parse-header-arguments
      (org-entry-get (point) "header-args" 'inherit)
      no-eval)
     ;; Language-specific header arguments at point of call.
     (and lang
	  (org-babel-parse-header-arguments
	   (org-entry-get (point) (concat "header-args:" lang) 'inherit)
	   no-eval)))))