purcell/emacs.d — Issue #14: need install htmlize for org-export in org-mode
Author: redguardtoo
Created: 2012-01-18 03:03:05+00:00
State: open

see foot note in http://orgmode.org/manual/Literal-examples.html.
Without that package, exported html will not have syntax highlight.

Here is the fix,
```
commit 227eef90d9aa5c94e37328c24c227838e4d34f9d
Author: chen bin
Date: Wed Jan 18 22:59:29 2012 +0800

org-export need htmlize for syntax highlight

diff --git a/init-elpa.el b/init-elpa.el
index f15c0ef..6817b39 100644
--- a/init-elpa.el
+++ b/init-elpa.el
@@ -60,6 +60,7 @@
(require-package 'rainbow-mode)
(require-package 'maxframe)
(when (< emacs-major-version 24)
+ (require-package 'htmlize)
(require-package 'org))
(require-package 'org2blog)
(require-package 'clojure-mode)
```