el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.
[profile] / el / dot-emacs.el
index dafedfd..9810267 100644 (file)
@@ -632,7 +632,7 @@ Don't do this if `mdw-inhibit-rename-buffer' is non-nil."
                      (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) ": "