Expand full path when opening exported HTML file

Sometimes path is relative and browser fails to open the file.
This commit is contained in:
Marian Schubert 2014-04-08 21:29:05 +02:00
parent 8b11f09bd8
commit b623c2735f
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ info is a plist holding export options."
(&optional async subtreep visible-only body-only ext-plist)
"Export current buffer to a reveal.js and browse HTML file."
(interactive)
(browse-url-of-file (org-reveal-export-to-html async subtreep visible-only body-only ext-plist)))
(browse-url-of-file (expand-file-name (org-reveal-export-to-html async subtreep visible-only body-only ext-plist))))
(provide 'ox-reveal)