From 39d3f20de528c93ea16dd72c91a5b6e21c502268 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 28 Dec 2016 04:03:12 -0800 Subject: [PATCH] [Emacs] Fix copy of README.html --- bin/compile.sh | 2 +- bin/generate-html.el | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/compile.sh b/bin/compile.sh index cc12e4b5..829f6108 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -14,4 +14,4 @@ curl -fsSkL https://raw.github.com/cask/cask/master/go | python cask install cask exec emacs --script generate-html.el -cp "../dotfiles/emacs.d/README.html" out +cp "$THIS_DIR/../emacs.d/README.html" out diff --git a/bin/generate-html.el b/bin/generate-html.el index c272649c..7efe6815 100755 --- a/bin/generate-html.el +++ b/bin/generate-html.el @@ -16,6 +16,8 @@ (setq readme-src (concat emacs-dir "README.org")) (org-babel-tangle-file readme-src) + +(require 'use-pacakge) (load-file (concat emacs-dir "org-config.el")) (defun export-target (target)