From: Michael Orlitzky Date: Thu, 24 Mar 2011 00:45:43 +0000 (-0400) Subject: Send the output of notify-send to /dev/null when sending ERC alerts. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=5fd40ba3bff1907596cc33fc753efab562c57737;p=emacs.d.git Send the output of notify-send to /dev/null when sending ERC alerts. --- diff --git a/mode-hooks/erc-mode-hooks.el b/mode-hooks/erc-mode-hooks.el index 280b117..4aa8edc 100644 --- a/mode-hooks/erc-mode-hooks.el +++ b/mode-hooks/erc-mode-hooks.el @@ -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") )