Skip to content

Commit

Permalink
org layer: Fix lazy-loading issue with ox-gfm
Browse files Browse the repository at this point in the history
Fix the error `Symbol's function definition is void: org-export-dispatch`
  • Loading branch information
syl20bnr committed Jun 1, 2015
1 parent 4fe62f2 commit 306d284
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions contrib/org/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 306d284

Please sign in to comment.