Question

I'm running emacs in daemon mode and usually have multiple instances of emacsclient open. Whenever I close down one of the client instances (with C-x C-c or save-buffers-kill-terminal) I am prompted to save all of the files currently open, not realizing that they'll remain open on other client. Is there a way to prevent this behavior?

Was it helpful?

Solution

What you observe is the correct documented behavior of save-buffers-kill-terminal.

What you need to use instead is C-x # (server-edit).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top