From 8fd20b0d7a9137ed5cc9228648b6879918681d70 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 2 Jan 2019 23:38:29 +1300 Subject: Block stderr from emacs daemon startup --- sh/profile.d/visual.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/profile.d/visual.sh b/sh/profile.d/visual.sh index 899437af..f79158b8 100644 --- a/sh/profile.d/visual.sh +++ b/sh/profile.d/visual.sh @@ -6,7 +6,7 @@ if command -v emacs >/dev/null 2>&1 && # Use or start a GNU Emacs client, if possible if command -v pgrep >/dev/null 2>&1 && pgrep -fxu "$USER" 'emacs --daemon' >/dev/null || - emacs --daemon >/dev/null ; then + emacs --daemon 2>/dev/null ; then VISUAL=emacsclient # If no GNU Emacs daemon is available, just create a new instance every -- cgit v1.2.3