refactor: use eval-when! less
These uses of this macro are a micro optimization that yield no benefit. The only place it's useful is in autoloads (which are guaranteed to be byte-compiled during `doom sync`).
This commit is contained in:
parent
0f4328058c
commit
e8a444749a
2 changed files with 3 additions and 3 deletions
|
@ -132,5 +132,5 @@
|
|||
(opam-switch-set-switch (tuareg-opam-current-compiler)))
|
||||
|
||||
|
||||
(eval-when! (modulep! +tree-sitter)
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'tuareg-mode-local-vars-hook #'tree-sitter!))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue