diff options
| author | Dan Nicolaescu | 2008-09-21 23:31:40 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-09-21 23:31:40 +0000 |
| commit | eab2ee89441d51e885e3df6b3fbcb3c12a177232 (patch) | |
| tree | 16fff121c73fb31938ace464c17dd6650c2bcf5d /etc | |
| parent | d06f8010663c3eacd0fd873f816803a6ffceb692 (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -130,6 +130,11 @@ Now, the default behavior is to open a new Emacs frame by default. | |||
| 130 | Use the -c option to get the old behavior of opening files in the | 130 | Use the -c option to get the old behavior of opening files in the |
| 131 | currently selected Emacs frame. | 131 | currently 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 | ||
| 135 | starts the server. Clients can connect and create graphical or | ||
| 136 | terminal 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 |
| 134 | remote display. | 139 | remote display. |
| 135 | 140 | ||