aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-03-09 16:47:57 -0700
committerGravatar Tom Willemse2026-03-09 16:50:31 -0700
commit46c7a0ea1e6d37eaec8d00cc423780b50e958b18 (patch)
tree6bdd2fa6b63f453700fabe6a7217f43504d19fde
parent7ae580d775818328a098c887446d88add6ff1067 (diff)
downloademacs-config-46c7a0ea1e6d37eaec8d00cc423780b50e958b18.tar.gz
emacs-config-46c7a0ea1e6d37eaec8d00cc423780b50e958b18.zip
oni-compilation: Notify when tests finish
-rw-r--r--oni-compilation.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-compilation.el b/oni-compilation.el
index 888ad09..f83e8fb 100644
--- a/oni-compilation.el
+++ b/oni-compilation.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0919.230646
+;; Version: 2026.0121.162911
;; Package-Requires: (oni-alert xterm-color)
;; This program is free software; you can redistribute it and/or modify
@@ -51,7 +51,7 @@ ALIST and PLIST contain extra information about the buffer."
BUFFER is the `compilation-mode' buffer and STATUS is the exit
status of the process."
- (when (string= (buffer-name buffer) "*compilation*")
+ (when (string-match-p (rx "*compilation*" "*Chanced Tests*") (buffer-name buffer))
(if (string= (string-trim status) "finished")
(alert "Compilation finished succesfully")
(alert "Compilation finished with an error"))))