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

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

bug#42386: Acknowledgement ([PATCH] Handle symbols in project-kill-buffe


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

On 17.07.2020 01:46, Juri Linkov wrote:
Do we have existing variables that offer similar functionality?

I have used font-lock-global-modes as an example in the past, but it
doesn't support free-form predicates or matching by buffer name.
Another example is desktop.el with distinct options
desktop-buffers-not-to-save and desktop-modes-not-to-save.
So maybe this needs a new option project-kill-buffers-ignore-modes.

Thanks.

It's a curious example, but with all three variables (-buffers-, -files-, -modes-), it still doesn't support arbitrary predicates.

Using a cons as suggested by Philip seems like a better option.





reply via email to

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