Skip to content

Commit

Permalink
[#477] New option: radian-org-enable-contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Mar 28, 2021
1 parent dd702ae commit 3fef6ee
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions emacs/radian.el
Expand Up @@ -605,13 +605,19 @@ nice.)"
;; depend on Org, they will not accidentally cause the Emacs-provided
;; (outdated and duplicated) version of Org to be loaded before the
;; real one is registered.
;;
;; Use my mirror of Org because the upstream has *shockingly*
;; atrocious uptime (namely, the entire service will just go down for
;; more than a day at a time on a regular basis). Unacceptable because
;; it keeps breaking Radian CI.
(straight-use-package
'(org :host github :repo "emacs-straight/org-mode" :local-repo "org"))

(straight-register-package 'org)
(straight-register-package 'org-plus-contrib)

(defcustom radian-org-enable-contrib nil
"Non-nil means to make Org contrib modules available.
This has to be set at the beginning of init, i.e. in the top
level of init.local.el."
:type 'boolean)

(if radian-org-enable-contrib
(straight-use-package 'org-plus-contrib)
(straight-use-package 'org))

;;; el-patch

Expand Down

0 comments on commit 3fef6ee

Please sign in to comment.