summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs3
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 007ed6d..a205771 100644
--- a/.emacs
+++ b/.emacs
@@ -531,8 +531,7 @@ UPSTREAMS is a list of fetch URLs."
(file-relative-name
buffer-file-name (file-name-concat
emacs-root "test"))))
- (cores (string-to-number
- (shell-command-to-string "nproc --all")))
+ (cores (num-processors 'all))
(options
`(("SELECTOR" . ,(which-function))
("TEST_BACKTRACE_LINE_LENGTH" . nil)))