[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3e756b1: Suppress emacsclient message that daemon should have sta
From: |
Lars Ingebrigtsen |
Subject: |
master 3e756b1: Suppress emacsclient message that daemon should have started if --quiet |
Date: |
Tue, 30 Nov 2021 23:57:08 -0500 (EST) |
branch: master
commit 3e756b12b62ffb0799aa5a586336405fb0fcdd76
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lib-src/emacsclient.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index c55b298..6afea6f 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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3e756b1: Suppress emacsclient message that daemon should have started if --quiet,
Lars Ingebrigtsen <=