New autoload/system.el core library
This commit is contained in:
parent
49c3c84d7f
commit
c5e3f4d632
4 changed files with 108 additions and 49 deletions
|
@ -167,7 +167,7 @@ users).")
|
|||
;; things ahead-of-time in a non-interactive session.
|
||||
(defun doom--comp-use-all-cores-a ()
|
||||
(if (zerop comp-async-jobs-number)
|
||||
(setq comp-num-cpus (doom-num-cpus))
|
||||
(setq comp-num-cpus (doom-system-cpus))
|
||||
comp-async-jobs-number))
|
||||
(advice-add #'comp-effective-async-max-jobs :override #'doom--comp-use-all-cores-a))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue