diff --git a/guides/users/Makefile b/guides/users/Makefile index 3148f5eaff68fe67319f3f9090d1baa21c8c92d6..2ff6311b683a54cc16f3b56707d0789b734ed219 100644 --- a/guides/users/Makefile +++ b/guides/users/Makefile @@ -10,17 +10,17 @@ algo: cp -rf ../../_build/default/_doc/_html . %.html:%.org - emacs25 --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el \ + emacs --batch --load=emacs-org.el \ --visit=$*.org --funcall org-html-export-to-html %.md:%.org - emacs25 --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el --visit=$*.org --funcall org-md-export-to-markdown + emacs --batch --eval="(add-to-list 'load-path \".\")" --load=emacs-org.el --visit=$*.org --funcall org-md-export-to-markdown %.html3:%.org emacs --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el \ --visit=$*.org --funcall org-html-export-to-html -EMACS=emacs25 \ +EMACS=emacs \ --load=htmlize.el \ --load=el/ob-ocaml.el \ --load=emacs-org.el diff --git a/guides/users/emacs-org.el b/guides/users/emacs-org.el index ea864dbfc6ca9dcb60c2157bad761942c6af28fe..86cfcae31af990b53af4b2d8c0a2a2f39dd45cf5 100644 --- a/guides/users/emacs-org.el +++ b/guides/users/emacs-org.el @@ -1,6 +1,7 @@ (setq load-path (cons (expand-file-name "./el") load-path)) +(setq load-path (cons (expand-file-name "./") load-path)) (setq auto-mode-alist (cons '("\\.lut$" . lutin-mode) auto-mode-alist)) @@ -49,7 +50,7 @@ (lutin . t) (dot . t) (rif . t) - (sh . t) + (shell . t) ) )