]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - mode-hooks/erc-mode-hooks.el
Send the output of notify-send to /dev/null when sending ERC alerts.
[emacs.d.git] / mode-hooks / erc-mode-hooks.el
index 280b117d6dda85a334f09494c4ddccdc5e33c1c0..4aa8edcb5843fd0d023fdb2f9a899d893580158a 100644 (file)
@@ -1,7 +1,7 @@
 (defun ercm-hook()
   ;; Load ERC-specific libraries.
   (load-library "erc-nick-notify")
-  (setq erc-nick-notify-cmd "mplayer ~/.home/emacs/audio/beep.mp3; notify-send")
+  (setq erc-nick-notify-cmd "mplayer ~/.home/emacs/audio/beep.mp3 &>/dev/null; notify-send &>/dev/null")
   (setq erc-nick-notify-delay '(0 1 0))
   (setq erc-nick-notify-icon "~/.home/emacs/images/dialog-warning.png")
   )