How do I answer y automatically (kill-matching-buffers asks if I should kill a modified buffer)?

前端 未结 4 616
深忆病人
深忆病人 2021-01-12 05:28

In Emacs - how do I kill buffers matching regexp?

Edit:

How do I answer y automatically (kill-matching-buffers ask

4条回答
  •  抹茶落季
    2021-01-12 06:00

    M-x kill-matching-buffers
    

    This will prompt for a regex, check the documentation for details.

提交回复
热议问题