[travis] Require org-loaddefs

This commit is contained in:
Kat Huang 2017-09-10 03:25:55 -07:00
parent 2c43ff214c
commit 4f7295ada3
2 changed files with 1 additions and 11 deletions

View File

@ -1,15 +1,5 @@
#!/usr/bin/env bash #!/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" export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH"
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -27,7 +17,6 @@ echo "this is PATH $PATH"
type -a emacs type -a emacs
cask install cask install
run_make_on_org
cask exec emacs --script generate-html.el cask exec emacs --script generate-html.el
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" . mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .

View File

@ -1,5 +1,6 @@
(package-initialize) (package-initialize)
(require 'org-loaddefs)
(require 'ox-html) (require 'ox-html)
(require 'htmlize) (require 'htmlize)