Skip to content

Instantly share code, notes, and snippets.

@chrisschreiner
Created April 16, 2010 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisschreiner/368961 to your computer and use it in GitHub Desktop.
Save chrisschreiner/368961 to your computer and use it in GitHub Desktop.
(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)
)))
@chrisschreiner
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment