branch: externals/el-job commit e4062696859672d8f3de29519b07ab71248e2f7b Author: Martin Edström <meedst...@runbox.eu> Commit: Martin Edström <meedst...@runbox.eu>
Fix #6 --- el-job.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el-job.el b/el-job.el index e2512a6fbc..e54003ac1f 100644 --- a/el-job.el +++ b/el-job.el @@ -299,7 +299,7 @@ See subroutine `el-job-child--zip' for details." (call-process "cmd.exe" nil t nil "/C" "wmic CPU get NumberOfCores /value") (goto-char 1) (or (and (re-search-forward "NumberOfCores=\\([0-9]+\\)" nil t) - (number-to-string (match-string 1))) + (string-to-number (match-string 1))) 1)))