From b623c2735f089837930f6756be13b496a68b3f5a Mon Sep 17 00:00:00 2001 From: Marian Schubert Date: Tue, 8 Apr 2014 21:29:05 +0200 Subject: [PATCH] Expand full path when opening exported HTML file Sometimes path is relative and browser fails to open the file. --- ox-reveal.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox-reveal.el b/ox-reveal.el index 9d6705f..345108b 100755 --- a/ox-reveal.el +++ b/ox-reveal.el @@ -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)