mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
Document project-kill-buffers-display-buffer-list
* doc/emacs/maintaining.texi (Project Buffer Commands): Mention project-kill-buffers-display-buffer-list. * lisp/progmodes/project.el (project-kill-buffers): Link to project-kill-buffers-display-buffer-list.
This commit is contained in:
parent
35c4f6c609
commit
d5b9b1a913
@ -1834,11 +1834,14 @@ buffers as candidates for completion.
|
||||
|
||||
@findex project-kill-buffers
|
||||
@vindex project-kill-buffer-conditions
|
||||
@vindex project-kill-buffers-display-buffer-list
|
||||
When you finish working on the project, you may wish to kill all the
|
||||
buffers that belong to the project, to keep your Emacs session
|
||||
smaller. The command @kbd{C-x p k} (@code{project-kill-buffers})
|
||||
accomplishes that: it kills all the buffers that belong to the current
|
||||
project that satisfy any of @code{project-kill-buffer-conditions}.
|
||||
project that satisfy any of @code{project-kill-buffer-conditions}. If
|
||||
@code{project-kill-buffers-display-buffer-list} is non-@code{nil}, the
|
||||
buffers to be killed will be displayed first.
|
||||
|
||||
@node Switching Projects
|
||||
@subsection Switching Projects
|
||||
|
1
etc/NEWS
1
etc/NEWS
@ -927,6 +927,7 @@ it with new 'term-{faint,italic,slow-blink,fast-blink}' faces.
|
||||
*** 'project-find-file' and 'project-or-external-find-file' now accept
|
||||
a prefix argument which is interpreted to mean "include all files".
|
||||
|
||||
+++
|
||||
*** 'project-kill-buffers' can display the list of buffers to kill.
|
||||
Customize the user option 'project-kill-buffers-display-buffer-list'
|
||||
to enable the display of the buffer list.
|
||||
|
@ -1330,7 +1330,9 @@ identical. Only the buffers that match a condition in
|
||||
`project-kill-buffer-conditions' will be killed. If NO-CONFIRM
|
||||
is non-nil, the command will not ask the user for confirmation.
|
||||
NO-CONFIRM is always nil when the command is invoked
|
||||
interactively."
|
||||
interactively.
|
||||
|
||||
Also see the `project-kill-buffers-display-buffer-list' variable."
|
||||
(interactive)
|
||||
(let* ((pr (project-current t))
|
||||
(bufs (project--buffers-to-kill pr))
|
||||
|
Loading…
Reference in New Issue
Block a user