aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDan Nicolaescu2008-09-21 23:31:40 +0000
committerDan Nicolaescu2008-09-21 23:31:40 +0000
commiteab2ee89441d51e885e3df6b3fbcb3c12a177232 (patch)
tree16fff121c73fb31938ace464c17dd6650c2bcf5d /etc
parentd06f8010663c3eacd0fd873f816803a6ffceb692 (diff)
downloademacs-eab2ee89441d51e885e3df6b3fbcb3c12a177232.tar.gz
emacs-eab2ee89441d51e885e3df6b3fbcb3c12a177232.zip
* 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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 13685fdcb7a..e8bfb7d1754 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -130,6 +130,11 @@ Now, the default behavior is to open a new Emacs frame by default.
130Use the -c option to get the old behavior of opening files in the 130Use the -c option to get the old behavior of opening files in the
131currently selected Emacs frame. 131currently selected Emacs frame.
132 132
133*** Emacs can now start in background, as a daemon when using the
134--daemon command line argument. It disconnects from the terminal and
135starts the server. Clients can connect and create graphical or
136terminal frames using emacsclient.
137
133*** The new command close-display-connection closes a connection to a 138*** The new command close-display-connection closes a connection to a
134remote display. 139remote display.
135 140