ox-publish: Raise an error when encountering undefined component
commit6e1d174d0a5564f3c18570025a439cbd201290cb
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 17 Mar 2017 07:53:46 +0000 (17 08:53 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 17 Mar 2017 07:53:46 +0000 (17 08:53 +0100)
treedfa0a2f1b1ee79cd4eba8a932e3612e0b1edf135
parent00f95cb126af6239cf0f18a4db21bd47614f6894
ox-publish: Raise an error when encountering undefined component

* lisp/ox-publish.el (org-publish-expand-projects): Raise an error
  when encountering undefined component.  Refactor code.  Fix
  docstring.

Reported-by: Bob Newell <bobnewell@bobnewell.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/112712>
lisp/ox-publish.el