nit: comment revision, spellcheck, & reformatting

Close: #7262
Co-authored-by: emergenz <emergenz@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2023-07-22 18:12:19 +02:00
parent 9a80f783eb
commit 1cd2a287f5
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
5 changed files with 37 additions and 31 deletions

View file

@ -82,6 +82,7 @@
(defun doom-system-cpus ()
"Return the max number of processing units on this system.
Tries to be portable. Returns 1 if cannot be determined."
;; REVIEW: Replace with `num-processors' once 27.x support is dropped.
(with-memoization (get 'doom-system-cpus 'cached-value)
(if (fboundp 'num-processors)
(num-processors) ; added in Emacs 28.1