* emacs.c (standard_args): Add --daemon.
authorDan Nicolaescu <dann@ics.uci.edu>
Sun, 21 Sep 2008 23:31:40 +0000 (23:31 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sun, 21 Sep 2008 23:31:40 +0000 (23:31 +0000)
commiteab2ee89441d51e885e3df6b3fbcb3c12a177232
tree16fff121c73fb31938ace464c17dd6650c2bcf5d
parentd06f8010663c3eacd0fd873f816803a6ffceb692
* emacs.c (standard_args): Add --daemon.
(main): Disconnect from the terminal when --daemon is passed.
(is_daemon): New variable.
(Fdaemonp): New function.
(syms_of_emacs): Defsubr it.

* startup.el (command-line): Start the server when in daemon mode.

* cmdargs.texi (Initial Options): Document --daemon.
doc/emacs/ChangeLog
doc/emacs/cmdargs.texi
etc/NEWS
lisp/ChangeLog
lisp/startup.el
src/ChangeLog
src/emacs.c