diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/cmdargs.texi | 15 | ||||
| -rw-r--r-- | doc/emacs/glossary.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 17 |
5 files changed, 25 insertions, 22 deletions
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 444d30527f8..8d3d936b7b3 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -334,17 +334,18 @@ setting @code{inhibit-x-resources} to @code{t} (@pxref{Resources}). | |||
| 334 | 334 | ||
| 335 | @item -daemon | 335 | @item -daemon |
| 336 | @opindex -daemon | 336 | @opindex -daemon |
| 337 | @itemx --daemon | 337 | @itemx --daemon[=@var{name}] |
| 338 | @opindex --daemon | 338 | @opindex --daemon |
| 339 | @itemx --old-daemon[=@var{name}] | ||
| 340 | @itemx --new-daemon[=@var{name}] | ||
| 339 | Start Emacs as a daemon---after Emacs starts up, it starts the Emacs | 341 | Start Emacs as a daemon---after Emacs starts up, it starts the Emacs |
| 340 | server and disconnects from the terminal without opening any frames. | 342 | server without opening any frames. |
| 343 | (Optionally, you can specify an explicit @var{name} for the server.) | ||
| 341 | You can then use the @command{emacsclient} command to connect to Emacs | 344 | You can then use the @command{emacsclient} command to connect to Emacs |
| 342 | for editing. @xref{Emacs Server}, for information about using Emacs | 345 | for editing. @xref{Emacs Server}, for information about using Emacs |
| 343 | as a daemon. | 346 | as a daemon. An ``old-style'' daemon disconnects from the terminal |
| 344 | 347 | and runs in the background (@samp{--daemon} is an alias for | |
| 345 | @item -daemon=@var{SERVER-NAME} | 348 | @samp{--old-daemon}). |
| 346 | Start emacs in background as a daemon, and use @var{SERVER-NAME} as | ||
| 347 | the server name. | ||
| 348 | 349 | ||
| 349 | @item --no-desktop | 350 | @item --no-desktop |
| 350 | @opindex --no-desktop | 351 | @opindex --no-desktop |
diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index bce97dacee2..d6489390ea5 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi | |||
| @@ -338,8 +338,8 @@ or by rebinding key sequences (@pxref{Keymaps}). | |||
| 338 | @item Daemon | 338 | @item Daemon |
| 339 | A daemon is a standard term for a system-level process that runs in the | 339 | A daemon is a standard term for a system-level process that runs in the |
| 340 | background. Daemons are often started when the system first starts up. | 340 | background. Daemons are often started when the system first starts up. |
| 341 | When Emacs runs in daemon-mode, it runs in the background and does not | 341 | When Emacs runs in daemon-mode, it does not |
| 342 | open a display. You can then connect to it with the | 342 | open a display. You connect to it with the |
| 343 | @command{emacsclient} program. @xref{Emacs Server}. | 343 | @command{emacsclient} program. @xref{Emacs Server}. |
| 344 | 344 | ||
| 345 | @item Default Argument | 345 | @item Default Argument |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index cb0a1160516..2290dec31e2 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1583,11 +1583,10 @@ dies with the Emacs process. | |||
| 1583 | 1583 | ||
| 1584 | @cindex daemon, Emacs | 1584 | @cindex daemon, Emacs |
| 1585 | @item | 1585 | @item |
| 1586 | Run Emacs as a @dfn{daemon}, using the @samp{--daemon} command-line | 1586 | Run Emacs as a @dfn{daemon}, using one of the @samp{--daemon} command-line |
| 1587 | option. @xref{Initial Options}. When Emacs is started this way, it | 1587 | options. @xref{Initial Options}. When Emacs is started this way, it |
| 1588 | calls @code{server-start} after initialization, and returns control to | 1588 | calls @code{server-start} after initialization and does not open an |
| 1589 | the calling terminal instead of opening an initial frame; it then | 1589 | initial frame. It then waits for edit requests from clients. |
| 1590 | waits in the background, listening for edit requests. | ||
| 1591 | 1590 | ||
| 1592 | @cindex systemd unit file | 1591 | @cindex systemd unit file |
| 1593 | @item | 1592 | @item |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 381edbac48a..d050738d80f 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -7166,7 +7166,7 @@ Emacs is displaying the frame on a character-based terminal. | |||
| 7166 | @defvar initial-window-system | 7166 | @defvar initial-window-system |
| 7167 | This variable holds the value of @code{window-system} used for the | 7167 | This variable holds the value of @code{window-system} used for the |
| 7168 | first frame created by Emacs during startup. (When Emacs is invoked | 7168 | first frame created by Emacs during startup. (When Emacs is invoked |
| 7169 | with the @option{--daemon} option, it does not create any initial | 7169 | as a daemon, it does not create any initial |
| 7170 | frames, so @code{initial-window-system} is @code{nil}, except on | 7170 | frames, so @code{initial-window-system} is @code{nil}, except on |
| 7171 | MS-Windows, where it is still @code{w32}. @xref{Initial Options, | 7171 | MS-Windows, where it is still @code{w32}. @xref{Initial Options, |
| 7172 | daemon,, emacs, The GNU Emacs Manual}.) | 7172 | daemon,, emacs, The GNU Emacs Manual}.) |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 97b086c0d37..3312705e167 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -112,8 +112,8 @@ compiled into the Emacs executable when it was built. | |||
| 112 | It runs the normal hook @code{before-init-hook}. | 112 | It runs the normal hook @code{before-init-hook}. |
| 113 | 113 | ||
| 114 | @item | 114 | @item |
| 115 | If appropriate, it creates a graphical frame. This is not done if the | 115 | If appropriate, it creates a graphical frame. This is not done in |
| 116 | options @samp{--batch} or @samp{--daemon} were specified. | 116 | batch (noninteractive) or daemon mode. |
| 117 | 117 | ||
| 118 | @item | 118 | @item |
| 119 | It initializes the initial frame's faces, and sets up the menu bar | 119 | It initializes the initial frame's faces, and sets up the menu bar |
| @@ -256,10 +256,10 @@ options were specified. | |||
| 256 | @c last few bits of command-line-1 are not done in batch mode. | 256 | @c last few bits of command-line-1 are not done in batch mode. |
| 257 | 257 | ||
| 258 | @item | 258 | @item |
| 259 | If the option @code{--daemon} was specified, it calls | 259 | If a daemon was requested, it calls @code{server-start}. |
| 260 | @code{server-start}, and on Posix systems also detaches from the | 260 | (On Posix systems, if a background daemon was requested, it then |
| 261 | controlling terminal. @xref{Emacs Server,,, emacs, The GNU Emacs | 261 | detaches from the controlling terminal.) @xref{Emacs |
| 262 | Manual}. | 262 | Server,,, emacs, The GNU Emacs Manual}. |
| 263 | 263 | ||
| 264 | @item | 264 | @item |
| 265 | If started by the X session manager, it calls | 265 | If started by the X session manager, it calls |
| @@ -337,7 +337,10 @@ Do not display a splash screen. | |||
| 337 | Run without an interactive terminal. @xref{Batch Mode}. | 337 | Run without an interactive terminal. @xref{Batch Mode}. |
| 338 | 338 | ||
| 339 | @item --daemon | 339 | @item --daemon |
| 340 | Do not initialize any display; just start a server in the background. | 340 | @itemx --old-daemon |
| 341 | @itemx --new-daemon | ||
| 342 | Do not initialize any display; just start a server. | ||
| 343 | (An ``old-style'' daemon automatically runs in the background.) | ||
| 341 | 344 | ||
| 342 | @item --no-init-file | 345 | @item --no-init-file |
| 343 | @itemx -q | 346 | @itemx -q |