aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/publish.el b/publish.el
index 5513b6f..fe78991 100644
--- a/publish.el
+++ b/publish.el
@@ -1,3 +1,12 @@
+(require 'package)
+(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
+(setq package-load-list '((htmlize t)))
+(package-initialize)
+
+(unless (package-installed-p 'htmlize)
+ (package-refresh-contents)
+ (package-install 'htmlize))
+
(require 'org)
(require 'ox-html)
(setq org-publish-project-alist