bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with


From: Eli Zaretskii
Subject: bug#50572: 28.0.50; [PATCH] fix VC to find the responsible backend with the most specific path.
Date: Wed, 10 Nov 2021 14:54:22 +0200

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 10 Nov 2021 01:39:36 +0100
> Cc: 50572@debbugs.gnu.org, Andy Moreton <andrewjmoreton@gmail.com>,
>  Manuel Giraud <manuel@ledu-giraud.fr>
> 
> Dmitry Gutov <dgutov@yandex.ru> writes:
> 
> > This works much faster in the same 'sudo' session:
> >
> >   (split-string (expand-file-name buffer-file-name) "/")
> 
> expand-file-name wouldn't be the right thing here, though.

Why isn't expand-file-name TRT?  If the file names are not absolute,
you cannot reliably compare their "depth" anyway.





reply via email to

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