bin/org-capture: Suppress output for initial emacsclient call

This commit is contained in:
Michael Sanders 2020-02-29 17:57:44 -08:00
parent 698001900f
commit 413171cfc9
No known key found for this signature in database
GPG key ID: A4ECD72095C1EA72

View file

@ -14,7 +14,7 @@ cleanup() {
} }
# If emacs isn't running, we start a temporary daemon, solely for this window. # If emacs isn't running, we start a temporary daemon, solely for this window.
if ! emacsclient -e nil; then if ! emacsclient --suppress-output --eval nil; then
emacs --daemon emacs --daemon
trap cleanup EXIT INT TERM trap cleanup EXIT INT TERM
daemon=1 daemon=1