ox-publish: Fix compilation problem

* lisp/ox-publish.el (org-publish-all): Fix compilation problem.
This commit is contained in:
Nicolas Goaziou 2013-10-13 18:34:57 +02:00
parent 92c2ccb1fb
commit 9c1ef6df93
1 changed files with 5 additions and 4 deletions

View File

@ -892,10 +892,11 @@ in another process."
(interactive "P")
(if async
(org-export-async-start 'ignore
`(when ',force (org-publish-remove-all-timestamps))
`(let ((org-publish-use-timestamps-flag
(if ',force nil ,org-publish-use-timestamps-flag)))
(org-publish-projects ',org-publish-project-alist)))
`(progn
(when ',force (org-publish-remove-all-timestamps))
(let ((org-publish-use-timestamps-flag
(if ',force nil ,org-publish-use-timestamps-flag)))
(org-publish-projects ',org-publish-project-alist))))
(when force (org-publish-remove-all-timestamps))
(save-window-excursion
(let ((org-publish-use-timestamps-flag