Variable: server-kill-new-buffers

server-kill-new-buffers is a customizable variable defined in server.el.gz.

Value

t

Documentation

Whether to kill buffers when done with them.

If non-nil, kill a buffer unless it already existed before editing it with the Emacs server. If nil, kill only buffers as specified by server-temp-file-regexp. Please note that only buffers that still have a client are killed, i.e. buffers visited with "emacsclient --no-wait" are never killed in this way.

This variable was added, or its default value changed, in Emacs 21.1.

View in manual

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/server.el.gz
(defcustom server-kill-new-buffers t
  "Whether to kill buffers when done with them.
If non-nil, kill a buffer unless it already existed before editing
it with the Emacs server.  If nil, kill only buffers as specified by
`server-temp-file-regexp'.
Please note that only buffers that still have a client are killed,
i.e. buffers visited with \"emacsclient --no-wait\" are never killed
in this way."
  :type 'boolean
  :version "21.1")