refactor: doom-module: conform variables to conventions
- Rename doom--empty-module-context to doom-module--empty-context. - Nest doom-module-context symbol plist in its 'keys' property. (By convention, Doom uses keywords as keys in most places. Let's be consistent) - Updates all uses of doom-module--context-field and doom-module-context-get.
This commit is contained in:
parent
fc6934c240
commit
77ea4013dd
2 changed files with 18 additions and 15 deletions
|
@ -1352,7 +1352,7 @@ between the two."
|
|||
))
|
||||
|
||||
;;; Custom org modules
|
||||
(dolist (flag (doom-module-context-get 'flags))
|
||||
(dolist (flag (doom-module-context-get :flags))
|
||||
(load! (concat "contrib/" (substring (symbol-name flag) 1)) nil t))
|
||||
|
||||
;; Add our general hooks after the submodules, so that any hooks the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue