From c0e905c0444df49e9d60469d7858435a2ab61d0b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 29 Nov 2020 14:50:32 -0500 Subject: [PATCH] Rename internal variable: doom-num-cpus -> doom--num-cpus --- core/autoload/process.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/autoload/process.el b/core/autoload/process.el index 46f4d28fc..1f960579f 100644 --- a/core/autoload/process.el +++ b/core/autoload/process.el @@ -41,13 +41,13 @@ Warning: freezes indefinitely on any stdin prompt." (process-exit-status process)) (string-trim (buffer-string))))) -(defvar doom-num-cpus nil) +(defvar doom--num-cpus nil) ;;;###autoload (defun doom-num-cpus () "Return the max number of processing units on this system. Tries to be portable. Returns 1 if cannot be determined." - (or doom-num-cpus - (setq doom-num-cpus + (or doom--num-cpus + (setq doom--num-cpus (max 1 (cond ((eq 'windows-nt system-type) (or (ignore-errors