Function: project--buffers-to-kill

project--buffers-to-kill is a byte-compiled function defined in project.el.gz.

Signature

(project--buffers-to-kill PR)

Documentation

Return list of buffers in project PR to kill.

What buffers should or should not be killed is described in project-kill-buffer-conditions.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defun project--buffers-to-kill (pr)
  "Return list of buffers in project PR to kill.
What buffers should or should not be killed is described
in `project-kill-buffer-conditions'."
  (let (bufs)
    (dolist (buf (project-buffers pr))
      (when (project--kill-buffer-check buf project-kill-buffer-conditions)
        (push buf bufs)))
    bufs))