Commit 3cb98721 authored by Paul Eggert's avatar Paul Eggert

temacs --daemon fix

* emacs.c (main): Initialize daemon_pipe[1] here ...
(syms_of_emacs): ... instead of here.

Fixes: debbugs:16599
parent f2601628
2014-02-17 Paul Eggert <eggert@cs.ucla.edu>
temacs --daemon fix (Bug#16599).
* emacs.c (main): Initialize daemon_pipe[1] here ...
(syms_of_emacs): ... instead of here.
2014-02-16 Anders Lindgern <andlind@gmail.com>
* nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask
......
......@@ -1005,6 +1005,9 @@ main (int argc, char **argv)
exit (0);
}
/* Make sure IS_DAEMON starts up as false. */
daemon_pipe[1] = 0;
if (argmatch (argv, argc, "-daemon", "--daemon", 5, NULL, &skip_args)
|| argmatch (argv, argc, "-daemon", "--daemon", 5, &dname_arg, &skip_args))
{
......@@ -2548,7 +2551,4 @@ libraries; only those already known by Emacs will be loaded. */);
Vlibrary_cache = Qnil;
staticpro (&Vlibrary_cache);
#endif
/* Make sure IS_DAEMON starts up as false. */
daemon_pipe[1] = 0;
}
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