diff options
| author | Spencer Baugh | 2024-07-09 14:30:27 -0400 |
|---|---|---|
| committer | Dmitry Gutov | 2024-07-16 04:59:11 +0300 |
| commit | 6b2f51633e0f508d393516d6624e1a4ddaca31d1 (patch) | |
| tree | 24af4a1d6859741a234982e951f31502c70894ee /java/org/gnu | |
| parent | 46f2c94949c97c95e3c0f7fede4937326ef3e234 (diff) | |
| download | emacs-6b2f51633e0f508d393516d6624e1a4ddaca31d1.tar.gz emacs-6b2f51633e0f508d393516d6624e1a4ddaca31d1.zip | |
Add project argument to project-kill-buffers
Previously, project-kill-buffers always called (project-current t). A
Lisp program could change what project project-kill-buffers operated
on by binding project-current-directory-override. However, in some
edge cases (for example, if the project was deleted between looking it
up and calling project-kill-buffers) this might fail to detect a
project, and so (project-current t) would prompt the user.
To avoid this, accept the project to kill buffers for as an argument.
* lisp/progmodes/project.el (project-kill-buffers): Take project as an
optional argument (bug#72019).
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions