How to close a emacsclient gui frame without killing the server

AdrieanKhisbe picture AdrieanKhisbe · Sep 28, 2013 · Viewed 8.7k times · Source

How do you close an emacsclient frame without killing the server/daemon?

Doing C-x C-c or C-x 5 0 in the gui will exit both frame and server (and other clients), while this just quit the current frame when done from terminal.

(Ps: My emacs version is 24.2,gtk. I've tried without init-file to see if it was coming from my config, but results were the same)

Answer

Dolda2000 picture Dolda2000 · Sep 28, 2013

From the minibuffer, when emacsclient starts:

When done with a buffer, type C-x #