summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 37822f5..c84cb15 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -649,6 +649,7 @@
(setq which-key-idle-delay .5)
;; Allow longer output in compilation buffer.
+(add-to-list 'compilation-filter-hook #'comint-truncate-buffer)
(setq comint-buffer-maximum-size 10000)
;; Replace values in an alist from a list of replacements.