Rename internal variable: doom-num-cpus -> doom--num-cpus
This commit is contained in:
parent
b91a1b3e7b
commit
c0e905c044
1 changed files with 3 additions and 3 deletions
|
@ -41,13 +41,13 @@ Warning: freezes indefinitely on any stdin prompt."
|
||||||
(process-exit-status process))
|
(process-exit-status process))
|
||||||
(string-trim (buffer-string)))))
|
(string-trim (buffer-string)))))
|
||||||
|
|
||||||
(defvar doom-num-cpus nil)
|
(defvar doom--num-cpus nil)
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-num-cpus ()
|
(defun doom-num-cpus ()
|
||||||
"Return the max number of processing units on this system.
|
"Return the max number of processing units on this system.
|
||||||
Tries to be portable. Returns 1 if cannot be determined."
|
Tries to be portable. Returns 1 if cannot be determined."
|
||||||
(or doom-num-cpus
|
(or doom--num-cpus
|
||||||
(setq doom-num-cpus
|
(setq doom--num-cpus
|
||||||
(max
|
(max
|
||||||
1 (cond ((eq 'windows-nt system-type)
|
1 (cond ((eq 'windows-nt system-type)
|
||||||
(or (ignore-errors
|
(or (ignore-errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue