]> git.eshelyaron.com Git - emacs.git/commit
Replace project-kill-buffers-ignores with project-kill-buffer-conditions
authorPhilip K <philip@warpmail.net>
Tue, 28 Jul 2020 22:21:56 +0000 (01:21 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 28 Jul 2020 22:21:56 +0000 (01:21 +0300)
commit2ab66c9f9be923350f123fdea05b5b3ce8283d8a
tree47a2782646873927c429359c2fb454a1e9d57b3a
parentbc486d1e20cd4b7c61dfefb4cda4720628666fe6
Replace project-kill-buffers-ignores with project-kill-buffer-conditions

* lisp/progmodes/project.el (project-kill-buffer-conditions):
Replace the project-kill-buffers-ignores user option.
(project--kill-buffer-check): New function.
(project--buffers-to-kill): New function.
(project-kill-buffers): Use them.  Add the NO-CONFIRM argument.
lisp/progmodes/project.el