summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2025-08-28 23:04:20 -0400
committerKleidi Bujari <mail@4kb.net>2025-08-28 23:04:20 -0400
commit9a01b6214bbd8a87a36a89c6f6b168d76b4b5d11 (patch)
tree87632e8fce38eb02266cb8b9094d6acc6a6fa005
parent28beb9d14054ed2681a53f883ff01de14dd9860e (diff)
download.emacs.d-9a01b6214bbd8a87a36a89c6f6b168d76b4b5d11.tar.gz
.emacs.d-9a01b6214bbd8a87a36a89c6f6b168d76b4b5d11.tar.bz2
.emacs.d-9a01b6214bbd8a87a36a89c6f6b168d76b4b5d11.zip
configure compile-mode with colors and auto-scroll
-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