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:
Henrik Lissner 2024-08-15 23:21:37 -04:00
parent 0f4328058c
commit e8a444749a
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 3 additions and 3 deletions

View file

@ -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!))