Commit 008bc1cb authored by Eli Zaretskii's avatar Eli Zaretskii

Fix last change

* lib-src/emacsclient.c (start_daemon_and_retry_set_socket)
[!WINDOWSNT]: Condition usage of socket_name on
NO_SOCKETS_IN_FILE_SYSTEM being undefined.
parent 57d5c14d
Pipeline #96 failed with stage
in 26 minutes and 28 seconds
......@@ -1535,6 +1535,7 @@ start_daemon_and_retry_set_socket (void)
d_argv[0] = emacs;
d_argv[1] = daemon_option;
d_argv[2] = 0;
#ifndef NO_SOCKETS_IN_FILE_SYSTEM
if (socket_name != NULL)
{
/* Pass --daemon=socket_name as argument. */
......@@ -1544,6 +1545,7 @@ start_daemon_and_retry_set_socket (void)
strcpy (stpcpy (daemon_arg, deq), socket_name);
d_argv[1] = daemon_arg;
}
#endif
execvp ("emacs", d_argv);
message (true, "%s: error starting emacs daemon\n", progname);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment