mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: refactor how module loads flag features
This commit is contained in:
@ -968,15 +968,8 @@ compelling reason, so..."
|
|||||||
))
|
))
|
||||||
|
|
||||||
;;; Custom org modules
|
;;; Custom org modules
|
||||||
(if (featurep! +brain) (load! "contrib/brain"))
|
(dolist (flag doom--current-flags)
|
||||||
(if (featurep! +dragndrop) (load! "contrib/dragndrop"))
|
(load! (concat "contrib/" (substring (symbol-name flag) 1))))
|
||||||
(if (featurep! +ipython) (load! "contrib/ipython"))
|
|
||||||
(if (featurep! +journal) (load! "contrib/journal"))
|
|
||||||
(if (featurep! +jupyter) (load! "contrib/jupyter"))
|
|
||||||
(if (featurep! +pomodoro) (load! "contrib/pomodoro"))
|
|
||||||
(if (featurep! +present) (load! "contrib/present"))
|
|
||||||
(if (featurep! +roam) (load! "contrib/roam"))
|
|
||||||
(if (featurep! +noter) (load! "contrib/noter"))
|
|
||||||
|
|
||||||
;; Add our general hooks after the submodules, so that any hooks the
|
;; Add our general hooks after the submodules, so that any hooks the
|
||||||
;; submodules add run after them, and can overwrite any defaults if necessary.
|
;; submodules add run after them, and can overwrite any defaults if necessary.
|
||||||
|
Reference in New Issue
Block a user