Function: org-publish-expand-projects
org-publish-expand-projects is a byte-compiled function defined in
ox-publish.el.gz.
Signature
(org-publish-expand-projects PROJECTS-ALIST)
Documentation
Expand projects in PROJECTS-ALIST.
This splices all the components into the list.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox-publish.el.gz
(defun org-publish-expand-projects (projects-alist)
"Expand projects in PROJECTS-ALIST.
This splices all the components into the list."
(let ((rest projects-alist) rtn p components)
(while (setq p (pop rest))
(if (setq components (plist-get (cdr p) :components))
(setq rest (append
(mapcar
(lambda (x)
(or (assoc x org-publish-project-alist)
(user-error "Unknown component %S in project %S"
x (car p))))
components)
rest))
(push p rtn)))
(nreverse (delete-dups (delq nil rtn)))))