change htmlize
authorPeng Li <seudut@gmail.com>
Sun, 12 Mar 2017 13:42:18 +0000 (21:42 +0800)
committerPeng Li <seudut@gmail.com>
Sun, 12 Mar 2017 13:42:18 +0000 (21:42 +0800)
Makefile
my-publish.el

index 63252fc..c3aca65 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,17 +20,19 @@ update:
        git pull && $(emacs) -Q --script blog.el "~/www/html" "true" 
 
 publish:
-       $(emacs) -Q --batch -l my-publish.el index.org \
+       $(emacs) -Q --batch  \
                --eval $(INIT_PACKAGES) \
                --eval '(setq debug-on-error t)' \
+               -l my-publish.el index.org \
                --eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \
                --eval '(org-publish-current-project)'
 
 # test will force publishing all files in the porject 
 test:
-       $(emacs) -Q --batch -l my-publish.el index.org \
+       $(emacs) -Q --batch \
                --eval $(INIT_PACKAGES) \
                --eval '(setq debug-on-error t)' \
+               -l my-publish.el index.org \
                --eval '(blog-setup-project-alist "$(BLOGDIR)")' \
                --eval '(org-publish-current-project t)'
 
index 22e8b2e..7f0cd31 100644 (file)
@@ -28,6 +28,7 @@
 
 (require 'org)
 (require 'ox-publish)
+(require 'htmlize)
 
 ;; To prevent inline-css when exporting html. will use external css
 (setq org-html-htmlize-output-type 'css)