emacs-devel
[Top][All Lists]
Advanced

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

Re: Breakage by commit "779bc886f9 * Improve detection of Git submodules


From: Tassilo Horn
Subject: Re: Breakage by commit "779bc886f9 * Improve detection of Git submodules"
Date: Sat, 16 May 2020 09:15:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

> On 15.05.2020 22:45, Tassilo Horn wrote:
>> I've edebugged, and the problem is that
>> (let ((default-directory "~/Repos/el/emacs/lisp/net"))
>>    (vc-root-dir)) ;=> nil
>> That's because `vc-deduce-backend' returns nil.  It only looks at
>> default-directory when in dired-mode, shell-mode, or compilation-mode...
>
> Oh, okay. Sorry about that.
>
> Does this patch fix the situation?

Yes, that works.  Thanks!

Bye,
Tassilo



reply via email to

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