aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-05-05 07:31:25 +0800
committerJesús <heckyel@hyperbola.info>2022-05-05 07:31:25 +0800
commit6d5058644ba7b7009045bbae287ff16f20e421a5 (patch)
treeca35681d13c95165022a4e606bb6fc072aab2f4c
parent8d182df96e63f8a1f0b093e2a5bbeb0d3bc60062 (diff)
downloademacs-personal-6d5058644ba7b7009045bbae287ff16f20e421a5.tar.lz
emacs-personal-6d5058644ba7b7009045bbae287ff16f20e421a5.tar.xz
emacs-personal-6d5058644ba7b7009045bbae287ff16f20e421a5.zip
Fix path reveal.js
-rw-r--r--.env.example2
-rw-r--r--modules/init-ox-reveal.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/.env.example b/.env.example
index 66a977e..154faae 100644
--- a/.env.example
+++ b/.env.example
@@ -6,5 +6,5 @@ EMACS_EMAIL="user@example.org"
ANGULAR_SERVER_DIR="/usr/local/lib/node_modules/@angular/language-server"
NODEJS_MODULE_DIR="/usr/local/lib/node_modules"
-REVEAL_JS_FILE="/path/to/reveal.js"
+REVEAL_JS_DIR="/path/to/reveal.js"
REVEAL_CSS_FILE="/path/to/highlight/night-owl.css"
diff --git a/modules/init-ox-reveal.el b/modules/init-ox-reveal.el
index 94b7d56..645afea 100644
--- a/modules/init-ox-reveal.el
+++ b/modules/init-ox-reveal.el
@@ -7,7 +7,7 @@
(use-package ox-reveal
:ensure ox-reveal
:config
- (setq org-reveal-root (getenv (concat "file://" "REVEAL_JS_FILE")))
+ (setq org-reveal-root (concat "file://" (getenv "REVEAL_JS_DIR")))
(setq org-reveal-highlight-css (getenv "REVEAL_CSS_FILE"))
(setq org-reveal-ignore-speaker-notes t))
(provide 'init-ox-reveal)