From: Mark Wooding Date: Sat, 29 Aug 2020 23:24:20 +0000 (+0100) Subject: el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/c0a4a95f5bc569e8418b396da691b5fc411e3f9c?ds=inline;hp=-c el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default. --- c0a4a95f5bc569e8418b396da691b5fc411e3f9c diff --git a/el/dot-emacs.el b/el/dot-emacs.el index dafedfd..9810267 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -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) ": "