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?
Asked
Active
Viewed 82 times
0

pseudosudo
- 6,270
- 9
- 40
- 53
-
how do you "close down one of them"? what is your `server-done-hook`? – sds Apr 18 '14 at 17:20
-
@sds I updated my answer with a clarification. The command is C-x C-c – pseudosudo Apr 18 '14 at 19:08
1 Answers
1
What you observe is the correct documented behavior of save-buffers-kill-terminal
.
What you need to use instead is C-x # (server-edit
).

sds
- 58,617
- 29
- 161
- 278