From 5fd40ba3bff1907596cc33fc753efab562c57737 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 23 Mar 2011 20:45:43 -0400 Subject: [PATCH] Send the output of notify-send to /dev/null when sending ERC alerts. --- mode-hooks/erc-mode-hooks.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") ) -- 2.43.2