diff options
author | Jim Porter <jporterbugs@gmail.com> | 2021-12-01 05:56:55 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-12-01 05:56:55 +0100 |
commit | 3e756b12b62ffb0799aa5a586336405fb0fcdd76 (patch) | |
tree | 907955544ba4ff40dc1a9e7fc8c7cd98fb968103 /lib-src | |
parent | ec59a6cb0fa4e8d0848a61bcb424ace7ce2ac922 (diff) | |
download | emacs-3e756b12b62ffb0799aa5a586336405fb0fcdd76.tar.gz |
Suppress emacsclient message that daemon should have started if --quiet
* lib-src/emacsclient.c (start_daemon_and_retry_set_socket): Don't
output "daemon should have started" message if --quiet (bug#52214).
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index c55b29830df..6afea6f3063 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1758,8 +1758,9 @@ start_daemon_and_retry_set_socket (void) } /* Try connecting, the daemon should have started by now. */ - message (true, - "Emacs daemon should have started, trying to connect again\n"); + if (!quiet) + message (true, + "Emacs daemon should have started, trying to connect again\n"); } else if (dpid < 0) { @@ -1850,7 +1851,7 @@ start_daemon_and_retry_set_socket (void) /* Try connecting, the daemon should have started by now. */ /* It's just a progress message, so don't pop a dialog if this is emacsclientw. */ - if (!w32_window_app ()) + if (!quiet && !w32_window_app ()) message (true, "Emacs daemon should have started, trying to connect again\n"); #endif /* WINDOWSNT */ |