如何清除emacsclient缓冲区的提示? [英] How to remove the prompt for killing emacsclient buffers?
本文介绍了如何清除emacsclient缓冲区的提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我使用emacsclient打开某个东西后,当我杀死那个缓冲区(Cx k)时,我得到一个确认对话框:
After I open something with emacsclient, when I kill that buffer (C-x k) I get a confirmation dialog:
Buffer `blah' still has clients; kill it? (yes or no)
但是当我杀死直接从Emacs打开的缓冲区时,我没有。有没有办法让emacsclient打开他们?
But when I kill buffers opened directly from Emacs I don't. Is there a way not to get them when emacsclient opened them?
推荐答案
这对我有用:
(remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
这篇关于如何清除emacsclient缓冲区的提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文