git clone 'git://github.com/cask/shut-up.git'
If you have an Emacs shell script, you most likely don't want output like this:
This package does it's best at shutting Emacs up!
shut-up to your Cask file:
shut-up macro to silence function calls:
(let (output) (shut-up (message "Foo") (setq output (shut-up-current-output))) (message "This was the last message: %s" output))
In non-interactive sessions, you can also use
shut-up-silence-emacs to change
some global Emacs settings to reduce output:
(when noninteractive (shut-up-silence-emacs))