Emacs Client: difference between C-x k and C-x #

前端 未结 2 581
南方客
南方客 2021-01-25 16:29

When running emacs in daemon with a client and I hit C-x k, it says: Emacs buffer still has clients. Are you sure you want to quit?

But when using C-x #, it exits immedi

2条回答
  •  佛祖请我去吃肉
    2021-01-25 17:25

    Basically C-x k kills a buffer and C-x # notifies the emacs server that you are done editing and that the client may exit. Kind of like killing a process with kill or exiting it correctly.

提交回复
热议问题