From 749f0722b4f290de8b9ff1a380f35c1279e4a97a Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Thu, 31 Mar 2016 23:58:11 -0400 Subject: [PATCH] core: fix doc-fmt tool --- core/tools/doc-fmt/run.bash | 5 ++--- core/tools/doc-fmt/toc-org-apply.el | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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))