Merge pull request #2641 from msanders/ms/org-capture-output

bin/org-capture: Suppress output for initial emacsclient call
This commit is contained in:
Henrik Lissner 2020-03-01 01:28:24 -05:00 committed by GitHub
commit 7f131203ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ cleanup() {
}
# 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
trap cleanup EXIT INT TERM
daemon=1