Subject: Re: bug#65666: Lockfiles break package-vc-install-from-checkout

From: Joseph Turner <[email-masked]>
Date: Fri, 01 Sep 2023 16:43:27 -0700

Philip Kaludercic <[email-masked]> writes:

> LGTM, but I wonder if there is a better way to detect lockfiles
> specifically?  If not, I can imagine that just using `file-exists-p'
> would a too broad check, in the sense that it could make it difficult to
> find other issues?

We could use a regex like

(unless (string-match-p (rx string-start ".#") file))