summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@csail.mit.edu>2016-05-05 16:47:34 -0400
committerGravatar Adam Chlipala <adamc@csail.mit.edu>2016-05-05 16:47:34 -0400
commit00243e03c336302d8ca4e819e0a896436b2bdc95 (patch)
tree9be865fc885403f52ec244f00ee03ba4f41acec2
parente8fba960a1866d0370b20ee0e120d64c4f05f67e (diff)
parent6c93a0c5612190566ae65f8654cca509e1a0e0d7 (diff)
Merge pull request #25 from MarkoSchuetz/master
Streamline callout to emacs for HTML rendering.
-rw-r--r--src/demo.sml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demo.sml b/src/demo.sml
index 17de80ee..2ff76ad1 100644
--- a/src/demo.sml
+++ b/src/demo.sml
@@ -318,12 +318,13 @@ fun make' {prefix, dirname, guided} =
Posix.FileSys.ST.mtime htmlSt)
end handle OS.SysErr _ => true
- val cmd = "emacs --eval \"(progn "
+ val cmd = "emacs -no-init-file --eval \"(progn "
^ "(global-font-lock-mode t) "
^ "(add-to-list 'load-path \\\""
^ !Settings.configSitelisp
^ "/\\\") "
^ "(load \\\"urweb-mode-startup\\\") "
+ ^ "(load \\\"htmlize\\\") "
^ "(urweb-mode) "
^ "(find-file \\\""
^ src