unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50499: 28.0.50; project.el: Root of current project
@ 2021-09-10  5:26 Augusto Stoffel
  2021-09-10 12:16 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Augusto Stoffel @ 2021-09-10  5:26 UTC (permalink / raw)
  To: 50499

I guess most uses of `project-root' will be of the form

    (when-let ((p (project-current)))
       (project-root p))

Or at least this is true in the case of an user who is quickly defining
a shortcut command in their config.

Wouldn't it make sense to make the PROJECT argument of `project-root'
optional, giving the above result when omitted?





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-25 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  5:26 bug#50499: 28.0.50; project.el: Root of current project Augusto Stoffel
2021-09-10 12:16 ` Dmitry Gutov
2021-09-10 16:08   ` Augusto Stoffel
2022-08-25 14:43     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).