Closed leahneukirchen closed 2 months ago
At some point
project-current
started to return longer lists such as(vc Git "/tmp/myrepo")
, socounsel--project-current
should not simply callcdr
Thanks for reporting this! A fix was already proposed in PR #3003, but...
but
project-root
to get the directory out of this.
...I hope to have addressed the issue in a more general way now, which does not assume project-root
(before it, there was only project-roots
, and before that, there was no project.el
!).
I worry that this breaks if (project-current)
returns nil.
I worry that this breaks if
(project-current)
returns nil.
Oops, your worry is justified. Sorry about that, and thanks for catching it.
At some point
project-current
started to return longer lists such as(vc Git "/tmp/myrepo")
, socounsel--project-current
should not simply callcdr
butproject-root
to get the directory out of this.