; * lisp/progmodes/project.el (project-buffers): Doc fix.

This commit is contained in:
Eli Zaretskii 2022-11-04 15:56:30 +02:00
parent fd3f51b7c3
commit dcb11202ac

View file

@ -355,8 +355,8 @@ Also quote LOCAL-FILES if `default-directory' is quoted."
(cl-defgeneric project-buffers (project)
"Return the list of all live buffers that belong to PROJECT.
The default implementation matches the existing buffers to
PROJECT root using the value of `default-directory' in each one."
The default implementation matches each buffer to PROJECT root using
the buffer's value of `default-directory'."
(let ((root (expand-file-name (file-name-as-directory (project-root project))))
bufs)
(dolist (buf (buffer-list))