diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 23:38:29 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 23:38:29 +1300 |
commit | 8fd20b0d7a9137ed5cc9228648b6879918681d70 (patch) | |
tree | b03bf1db222cac7256b737a228c2538256ce8899 | |
parent | Remove an error-prone line from .emacs (diff) | |
download | dotfiles-8fd20b0d7a9137ed5cc9228648b6879918681d70.tar.gz dotfiles-8fd20b0d7a9137ed5cc9228648b6879918681d70.zip |
Block stderr from emacs daemon startup
-rw-r--r-- | sh/profile.d/visual.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |