|
@@ -418,8 +418,12 @@ This splices all the components into the list."
|
|
(while (setq p (pop rest))
|
|
(while (setq p (pop rest))
|
|
(if (setq components (plist-get (cdr p) :components))
|
|
(if (setq components (plist-get (cdr p) :components))
|
|
(setq rest (append
|
|
(setq rest (append
|
|
- (mapcar (lambda (x) (assoc x org-publish-project-alist))
|
|
|
|
- components)
|
|
|
|
|
|
+ (mapcar
|
|
|
|
+ (lambda (x)
|
|
|
|
+ (or (assoc x org-publish-project-alist)
|
|
|
|
+ (user-error "Unknown component %S in project %S"
|
|
|
|
+ x (car p))))
|
|
|
|
+ components)
|
|
rest))
|
|
rest))
|
|
(push p rtn)))
|
|
(push p rtn)))
|
|
(nreverse (delete-dups (delq nil rtn)))))
|
|
(nreverse (delete-dups (delq nil rtn)))))
|