Function: org-babel-combine-header-arg-lists

org-babel-combine-header-arg-lists is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-combine-header-arg-lists ORIGINAL &rest OTHERS)

Documentation

Combine a number of lists of header argument names and arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-combine-header-arg-lists (original &rest others)
  "Combine a number of lists of header argument names and arguments."
  (let ((results (copy-sequence original)))
    (dolist (new-list others)
      (dolist (arg-pair new-list)
	(let ((header (car arg-pair)))
	  (setq results
		(cons arg-pair (cl-remove-if
				(lambda (pair) (equal header (car pair)))
				results))))))
    results))