Skip to content

Commit

Permalink
core: initialize Org earlier to prevent version conflicts
Browse files Browse the repository at this point in the history
Should resolved all our issues with the wrong version of Org being loaded
before Org-plus-contrib! 🎉
  • Loading branch information
syl20bnr committed Jan 21, 2018
1 parent 5144c25 commit 723604d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/core-configuration-layer.el
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,11 @@ cache folder.")
configuration-layer-elpa-archives))
;; optimization, no need to activate all the packages so early
(setq package-enable-at-startup nil)
(package-initialize 'noactivate)))
(package-initialize 'noactivate)
;; hack to be sure to enable insalled org from Org ELPA repository
(when (package-installed-p 'org-plus-contrib)
(message "Initializing Org early...")
(configuration-layer//activate-package 'org-plus-contrib))))

(defun configuration-layer//configure-quelpa ()
"Configure `quelpa' package."
Expand Down

0 comments on commit 723604d

Please sign in to comment.