mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
refactor: declare doom-module->context side-effect-free
This commit is contained in:
@@ -184,6 +184,7 @@ cell."
|
|||||||
|
|
||||||
(defun doom-module->context (key)
|
(defun doom-module->context (key)
|
||||||
"Change a `doom-module' into a `doom-module-context'."
|
"Change a `doom-module' into a `doom-module-context'."
|
||||||
|
(declare (side-effect-free t))
|
||||||
(pcase-let
|
(pcase-let
|
||||||
(((doom-module index path flags group name)
|
(((doom-module index path flags group name)
|
||||||
(if (doom-module-p key)
|
(if (doom-module-p key)
|
||||||
|
Reference in New Issue
Block a user