org layer: Fix lazy-loading issue with ox-gfm

Fix the error `Symbol's function definition is void: org-export-dispatch`
This commit is contained in:
syl20bnr 2015-06-01 00:12:30 -04:00
parent 4fe62f238d
commit dc048726f6
1 changed files with 2 additions and 9 deletions

View File

@ -13,19 +13,13 @@
(setq org-packages
'(
evil-org
htmlize
org
org-bullets
org-pomodoro
org-present
org-repo-todo
ox-gfm
htmlize
))
(setq org-excluded-packages
'(
;; seems to be problematic, to investigate
ox-gfm
))
(defun org/init-evil-org ()
@ -194,8 +188,7 @@ Will work on both org-mode and any mode that accepts plain html."
"mgt" 'ort/goto-todos))))
(defun org/init-ox-gfm ()
(use-package ox-gfm
:defer t))
(eval-after-load 'org '(require 'ox-gfm)))
(defun org/init-htmlize ()
(use-package htmlize