mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-05 11:45:52 +00:00
Fix bug with recursive publishing and the publishing directory.
This one has haunted us for a long time......
This commit is contained in:
parent
10bdab790b
commit
d2697cf11e
@ -161,7 +161,7 @@
|
||||
(the directory structure of the source files is reflected in
|
||||
the index). The default is `tree'.
|
||||
|
||||
Thanks to Sebastian Rose for the patch.
|
||||
Thanks to Manuel Hermenegildo for the patch.
|
||||
|
||||
* Version 6.05
|
||||
|
||||
|
@ -72,6 +72,9 @@ the command line....):
|
||||
|
||||
: git clone git://repo.or.cz/org-mode.git
|
||||
|
||||
Some more information about this can be found in the FAQ, under
|
||||
/How can I keep track of changes in my Org files?/.
|
||||
|
||||
** Alternative distributions
|
||||
|
||||
There are several alternative distrbutions of Org:
|
||||
|
@ -1,5 +1,8 @@
|
||||
2008-07-25 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
* org-publish.el (org-publish-file): Make sure the directory match
|
||||
for the publishing directory works correctly.
|
||||
|
||||
* org-agenda.el (org-agenda-execute-calendar-command)
|
||||
(org-agenda-diary-entry): Additional optional argument.
|
||||
|
||||
|
@ -554,6 +554,7 @@ See `org-publish-org-to' to the list of arguments."
|
||||
(abbreviate-file-name filename))))
|
||||
(error "Can't publish file outside of a project")))))
|
||||
(project-plist (cdr project))
|
||||
(ftname (file-truename file-name))
|
||||
(publishing-function
|
||||
(or (plist-get project-plist :publishing-function)
|
||||
'org-publish-org-to-html))
|
||||
@ -565,8 +566,8 @@ See `org-publish-org-to' to the list of arguments."
|
||||
(setq tmp-pub-dir
|
||||
(file-name-directory
|
||||
(concat pub-dir
|
||||
(and (string-match (regexp-quote base-dir) filename)
|
||||
(substring filename (match-end 0))))))
|
||||
(and (string-match (regexp-quote base-dir) ftname)
|
||||
(substring ftname (match-end 0))))))
|
||||
(if (listp publishing-function)
|
||||
;; allow chain of publishing functions
|
||||
(mapc (lambda (f)
|
||||
|
Loading…
Reference in New Issue
Block a user