mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
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:
@@ -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!))
|
||||
|
Reference in New Issue
Block a user