mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(cli): remove redundant comp-effective-async-max-jobs advice
Amend: 51a9745f38
This commit is contained in:
@ -704,14 +704,6 @@ It may not be obvious to users what they should do for some straight prompts,
|
|||||||
so Doom will recommend the one that reverts a package back to its (or target)
|
so Doom will recommend the one that reverts a package back to its (or target)
|
||||||
original state.")
|
original state.")
|
||||||
|
|
||||||
;; FIXME Replace with a -j/--jobs option in 'doom sync' et co
|
|
||||||
(defadvice! doom-cli--comp-use-all-cores-a (&rest _)
|
|
||||||
"Default to using all cores, rather than half.
|
|
||||||
Doom compiles packages ahead-of-time, in a dedicated noninteractive session, so
|
|
||||||
it doesn't make sense to slack."
|
|
||||||
:before #'comp-effective-async-max-jobs
|
|
||||||
(setq comp-num-cpus (doom-system-cpus)))
|
|
||||||
|
|
||||||
;; HACK Remove dired & magit options from prompt, since they're inaccessible in
|
;; HACK Remove dired & magit options from prompt, since they're inaccessible in
|
||||||
;; noninteractive sessions.
|
;; noninteractive sessions.
|
||||||
(advice-add #'straight-vc-git--popup-raw :override #'straight--popup-raw)
|
(advice-add #'straight-vc-git--popup-raw :override #'straight--popup-raw)
|
||||||
|
Reference in New Issue
Block a user