summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-10-13 16:34:57 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2013-10-13 16:34:57 (GMT)
commit9c1ef6df931e50c80866eae1a8d786aca2611612 (patch)
treec316849fbceb07b577c57b325753f07c33c99c17
parent92c2ccb1fb438064453c60ff215adad1c213218d (diff)
downloadorg-mode-9c1ef6df931e50c80866eae1a8d786aca2611612.zip
org-mode-9c1ef6df931e50c80866eae1a8d786aca2611612.tar.gz
ox-publish: Fix compilation problem
* lisp/ox-publish.el (org-publish-all): Fix compilation problem.
-rw-r--r--lisp/ox-publish.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el
index 906c819..67a57fa 100644
--- a/lisp/ox-publish.el
+++ b/lisp/ox-publish.el
@@ -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