summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--genhtml.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/genhtml.sh b/genhtml.sh
index 6b303ac..4a1d667 100644
--- a/genhtml.sh
+++ b/genhtml.sh
@@ -2,7 +2,9 @@
set -Ceu
-exec emacs --batch --load paredit.el --eval '
+: ${EMACS:=emacs}
+
+exec ${EMACS} --batch --load paredit.el --eval '
(with-temp-buffer
(paredit-insert-html-examples)
(write-file "paredit.html"))