chiark / gitweb /
el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 29 Aug 2020 23:24:20 +0000 (00:24 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 29 Aug 2020 23:25:18 +0000 (00:25 +0100)
el/dot-emacs.el

index dafedfd7531b8c921ff1bba12fe61fecda5b7043..981026729abd04a2f2ae2965e64af206d9af251d 100644 (file)
@@ -632,7 +632,7 @@ (setq compile-command
                      (insert-file-contents "/proc/cpuinfo")
                      (buffer-string)
                      (count-matches "^processor\\s-*:"))))
-         (format "make -j%d -k" (* 2 ncpu))))
+         (format "nice make -j%d -k" (* 2 ncpu))))
 
 (defun mdw-compilation-buffer-name (mode)
   (concat "*" (downcase mode) ": "