Created
April 16, 2010 20:53
-
-
Save chrisschreiner/368961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun slime-compilation-finished (result) | |
(with-struct (slime-compilation-result. notes duration successp) result | |
(setf slime-last-compilation-result result) | |
(slime-show-note-counts notes duration successp) | |
(when slime-highlight-compiler-notes | |
;(slime-highlight-notes notes) | |
(growl (format "%s" (second (first notes))) | |
;(run-hook-with-args 'slime-compilation-finished-hook notes) | |
))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this fn in my slime.el so when I M-c, the compiler notification is routed to growl instead of in an emacs buffer.