chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f74fc66
)
el/dot-emacs.el (compile-command): Run compilations nice(1)ly by default.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 29 Aug 2020 23:24:20 +0000
(
00:24
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 29 Aug 2020 23:25:18 +0000
(
00:25
+0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index dafedfd7531b8c921ff1bba12fe61fecda5b7043..981026729abd04a2f2ae2965e64af206d9af251d 100644
(file)
--- 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-*:"))))
(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) ": "
(defun mdw-compilation-buffer-name (mode)
(concat "*" (downcase mode) ": "