]> gitweb.michael.orlitzky.com - emacs.d.git/commitdiff
Send the output of notify-send to /dev/null when sending ERC alerts.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Mar 2011 00:45:43 +0000 (20:45 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 24 Mar 2011 00:46:50 +0000 (20:46 -0400)
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")
   )