ox-publish: Fix :base-extension any with :recursive t
commitd40deb6967dd7d2369576319cd1c517e1c454b95
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 24 Sep 2017 08:57:11 +0000 (24 10:57 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 24 Sep 2017 08:57:11 +0000 (24 10:57 +0200)
treeb48b099c48186e11d96cf92c3557d3809f712e94
parent196ed7feffdb3da402924bfd8a71729b816cd804
ox-publish: Fix :base-extension any with :recursive t

* lisp/ox-publish.el (org-publish-get-base-files): Ensure MATCH regexp
  is always a string since `directory-files-recursively' requires it.
* testing/lisp/test-ox-publish.el (test-org-publish/get-project-from-filename):
  Add test.

Suggested-by: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00528.html>
lisp/ox-publish.el
testing/lisp/test-ox-publish.el