Re: emacsclient - kill frame, not buffer

Eli Zaretskii <[email protected]> Thu, 19 Nov 2020 19:34:53 +0200
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
> From: Ken Goldman <[email protected]>
> Date: Thu, 19 Nov 2020 12:21:07 -0500
> 
> Coming from gnuclient, delete-frame would only delete the frame.
> 
> emacsclient seems to work differently.  delete-frame also deletes the
> buffer that was specified when creating the frame.
> 
> Is there a command to get the gnuserv behavior - kill the frame but
> leave the buffer open.

Customize server-kill-new-buffers to the nil value.  (And review the
value of server-temp-file-regexp if the above still doesn't do what
you want.)