bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42386: [PATCH] Handle symbols in project-kill-buffers-ignores


From: Dmitry Gutov
Subject: bug#42386: [PATCH] Handle symbols in project-kill-buffers-ignores
Date: Thu, 16 Jul 2020 16:43:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 16.07.2020 11:15, Philip K. wrote:
using project-kill-buffers for the last few weeks I noticed that my ERC
buffers get killed when I started my session in a project. This kicks me
out of all the channels I have joined, which is not intended.

Fixing this is easy, I just have to ignore ERC buffers:

         (add-to-list 'project-kill-buffers-ignores
                      (lambda (buf)
                        (with-current-buffer buf
                          (derived-mode-p 'erc-mode))))

So there is no way to match the buffers in question using a regexp by name?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]