From 4f7295ada3b0d436b1a3528c1516738a7f90b8f3 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Sun, 10 Sep 2017 03:25:55 -0700 Subject: [PATCH] [travis] Require org-loaddefs --- gen-gh-pages/compile.sh | 11 ----------- gen-gh-pages/generate-html.el | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/gen-gh-pages/compile.sh b/gen-gh-pages/compile.sh index 3af25e92..19f1fc9f 100755 --- a/gen-gh-pages/compile.sh +++ b/gen-gh-pages/compile.sh @@ -1,15 +1,5 @@ #!/usr/bin/env bash -function run_make_on_org () { - original="$(pwd)" - cd .cask - cd "$(ls | head)" - cd elpa - cd "$(ls | grep org-plus)" - make autoloads - cd $original -} - export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH" THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -27,7 +17,6 @@ echo "this is PATH $PATH" type -a emacs cask install -run_make_on_org cask exec emacs --script generate-html.el mv "$THIS_DIR/../dotfiles/emacs.d/README.html" . diff --git a/gen-gh-pages/generate-html.el b/gen-gh-pages/generate-html.el index eae66b93..77a614c9 100755 --- a/gen-gh-pages/generate-html.el +++ b/gen-gh-pages/generate-html.el @@ -1,5 +1,6 @@ (package-initialize) +(require 'org-loaddefs) (require 'ox-html) (require 'htmlize)