diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-07-07 18:28:14 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-07-07 18:29:54 +0200 |
| commit | 14deed89ea2748d7e268a5b18ab2f9be6688975b (patch) | |
| tree | c2dead868596a502ea76d0c01e3799f6f996e4f5 | |
| parent | b84d735b85e37a0a33d2722000245b63c263b723 (diff) | |
| download | dotfiles-14deed89ea2748d7e268a5b18ab2f9be6688975b.tar.xz | |
Use simpler method to get the number of processors
Chance met reading '(elisp) Process Information'.
| -rw-r--r-- | .emacs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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))) |
