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).
This commit is contained in:
parent
ec59a6cb0f
commit
3e756b12b6
1 changed files with 4 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue