Nicolas Goaziou
df80fde9d0
Fix failing tests
...
Use relative symlinks instead of absolute ones.
Reported-by: Nick Dokos <ndokos@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00241.html >
2018-02-15 15:01:45 +01:00
Nicolas Goaziou
7c21dfc771
ox-publish: Follow symlink directories
...
* lisp/org-compat.el (directory-files-recursively): Remove
compatibility function, no longer needed.
* lisp/ox-publish.el (org-publish--expand-file-name):
(org-publish-org-to):
(org-publish-collect-index):
(org-publish--store-crossrefs):
(org-publish-resolve-external-link): Preserve symlinks in file name.
(org-publish-get-base-files): Follow symlink directories.
(org-publish-get-project-from-filename): Preserve symlinks in file
name. Do not use `file-in-directory-p', which ignores symlinks.
Reported-by: Michel Damiens <michel.damiens@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00186.html >
2018-02-13 14:06:56 +01:00
Nicolas Goaziou
ccf2b988af
ox-publish: Fix :base-extension (part 2)
...
* lisp/ox-publish.el (org-publish-get-base-files): Make sure to remove
directories.
* testing/examples/pub/file.txt:
* testing/examples/pub/noextension: New files.
* testing/lisp/test-ox-publish.el (test-org-publish/base-extension):
New test.
2016-12-29 21:48:02 +01:00
Nicolas Goaziou
baf2e0e5ee
ox-publish: Add tests
...
* testing/examples/pub/a.org:
* testing/examples/pub/b.org:
* testing/examples/pub/sub/c.org:
* testing/lisp/test-ox-publish.el: New files.
2016-12-19 12:19:59 +01:00