summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el
index 09ce409..82ea0ca 100644
--- a/init.el
+++ b/init.el
@@ -61,6 +61,13 @@
(when (fboundp 'repeat-mode)
(add-hook 'after-init-hook 'repeat-mode))
+;; Properly parse ANSI escape codes in compile mode
+(when (fboundp 'ansi-color-compilation-filter)
+ (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter))
+
+;; Automatically scroll compile output when buffer is full
+(setopt compilation-scroll-output t)
+
;; General editor preferences
(setopt column-number-mode t
case-fold-search t