Fixed #429. Export multiplexing client file when publishing

This commit is contained in:
Yujie Wen 2020-12-11 23:18:15 +08:00
parent 6542658d67
commit 3c1ee7821c
1 changed files with 4 additions and 1 deletions

View File

@ -1499,7 +1499,10 @@ is the property list for the given project. PUB-DIR is the
publishing directory.
Return output file name."
(org-publish-org-to 'reveal filename ".html" plist pub-dir))
(let ((client-multiplex nil))
(org-publish-org-to 'reveal filename ".html" plist pub-dir)
(when client-multiplex
(org-publish-org-to 'reveal filename "_client.html" plist pub-dir))))
;; Register auto-completion for speaker notes.
(when org-reveal-note-key-char