diff --git a/core/tools/doc-fmt/run.bash b/core/tools/doc-fmt/run.bash index 534d86158..2f6f9f5b3 100755 --- a/core/tools/doc-fmt/run.bash +++ b/core/tools/doc-fmt/run.bash @@ -23,8 +23,7 @@ find ./layers -name "*.org" -type f -exec gsed -i 's/:TOC_4_org:/:TOC_4_gh:/' {} #apply toc-org to doc. -find ./doc -name "*.org" -type f -exec emacs -batch -l ./doc-fmt/toc-org-apply.el '{}' -f toc-apply \; +find ./doc -name "*.org" -type f -exec emacs -batch -l ./core/tools/doc-fmt/toc-org-apply.el '{}' -f toc-apply \; #apply toc-org to layers. -find ./layers -name "*.org" -type f -exec emacs -batch -l ./doc-fmt/toc-org-apply.el '{}' -f toc-apply \; - +find ./layers -name "*.org" -type f -exec emacs -batch -l ./core/tools/doc-fmt/toc-org-apply.el '{}' -f toc-apply \; diff --git a/core/tools/doc-fmt/toc-org-apply.el b/core/tools/doc-fmt/toc-org-apply.el index 6e8e20366..955eda0f2 100644 --- a/core/tools/doc-fmt/toc-org-apply.el +++ b/core/tools/doc-fmt/toc-org-apply.el @@ -1,4 +1,4 @@ -(load-file "./doc-fmt/toc-org.el") +(load-file "./core/tools/doc-fmt/toc-org.el") (defun toc-apply () (toc-org-insert-toc) (save-buffer 0))