]> git.eshelyaron.com Git - emacs.git/commitdiff
project-kill-buffers: Update the docstring too
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 12 Jul 2020 00:46:37 +0000 (03:46 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 12 Jul 2020 00:46:37 +0000 (03:46 +0300)
* lisp/progmodes/project.el (project-kill-buffers):
Copy a sentence over from project-switch-to-buffer.

lisp/progmodes/project.el

index 293ef0b35082b595e1724c3c09357f722e580124..5be89b9ceb665754e56002bb294fdb3e3925606e 100644 (file)
@@ -860,6 +860,8 @@ any of the conditions will not be killed."
 ;;;###autoload
 (defun project-kill-buffers ()
   "Kill all live buffers belonging to the current project.
+Two buffers belong to the same project if their project instances,
+as reported by `project-current' in each buffer, are identical.
 Certain buffers may be \"spared\", see `project-kill-buffers-ignores'."
   (interactive)
   (let ((pr (project-current t)) bufs)