emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 7d47651d01: project-buffers: Describe the default implementat


From: Eli Zaretskii
Subject: Re: master 7d47651d01: project-buffers: Describe the default implementation
Date: Fri, 04 Nov 2022 10:15:09 +0200

> diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
> index ec453baf72..6d062aa8fa 100644
> --- a/lisp/progmodes/project.el
> +++ b/lisp/progmodes/project.el
> @@ -353,7 +353,10 @@ Also quote LOCAL-FILES if `default-directory' is quoted."
>                local-files))))
>  
>  (cl-defgeneric project-buffers (project)
> -  "Return the list of all live buffers that belong to PROJECT."
> +  "Return the list of all live buffers that belong to PROJECT.
> +
> +The default implementation matches the current open buffers to
> +PROJECT root using the value of `default-directory' in each one."

What does it mean "the current open buffers"?  I don't think we use
the term "open buffer" in our documentation.  Do you mean the
"existing buffers"? or maybe just "buffers"?

IOW, what aspects of buffers is the "current open" qualification
trying to capture?

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]