summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-08-22 09:41:40 +0000
committerEli Zaretskii <eliz@gnu.org>2000-08-22 09:41:40 +0000
commit7448f7a2f3102d0d32d92ec965997338312783e6 (patch)
tree9509b9b686ee844b0eb994a5952e246ca9c27cfe
parent480b577389eaec0886da07cca592ec1623b4198a (diff)
downloademacs-7448f7a2f3102d0d32d92ec965997338312783e6.tar.gz
Document server-kill-new-buffers.
-rw-r--r--man/misc.texi14
1 files changed, 13 insertions, 1 deletions
diff --git a/man/misc.texi b/man/misc.texi
index bf7e7d2ab4e..9f7c4df0380 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1174,9 +1174,21 @@ you finish with the file. Use the variable
this sense; its value should be a regular expression that matches file
names that are temporary.
+@vindex server-kill-new-buffers
+ If the variable @code{server-kill-new-buffers} is set to non-nil,
+buffers which still have a client are killed when you are done with
+them, unless they were already present before Emacs Server visited
+them. This overrides the effect of the @code{server-temp-file-regexp}
+variable. By default, @code{server-kill-new-buffers} has a non-nil
+value; set it to nil if you want the old behavior giverned by
+@code{server-temp-file-regexp}.
+
If you run @code{emacsclient} with the option @samp{--no-wait}, it
returns immediately without waiting for you to ``finish'' the buffer in
-Emacs.
+Emacs. Note that it this case, buffers for temporary files will not be
+killed automatically with the default value of
+@code{server-kill-new-buffers}, since those buffers will not have a
+client.
If you have forgotten to start Emacs, then the option
@samp{--alternate-editor=@var{command}} may be useful. It specifies a