emacs-devel
[Top][All Lists]
Advanced

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

Re: sh.exe needed to bootstrap on Windows?


From: Eli Zaretskii
Subject: Re: sh.exe needed to bootstrap on Windows?
Date: Tue, 17 Jul 2007 01:01:15 +0300

> Cc: address@hidden, address@hidden
> From: Dan Nicolaescu <address@hidden>
> Date: Mon, 16 Jul 2007 14:30:32 -0700
> 
>   >   (let ((backend (vc-file-getprop file 'vc-backend)))
>   >     (mapcar
>   >      (lambda (b)
>   >        (and (vc-call-backend b 'registered file)
>   >             (vc-file-setprop file 'vc-backend b)
>   >             (throw 'found t)))
>   >      (if (or (not backend) (eq backend 'none))
>   >          vc-handled-backends
>   >        (cons backend vc-handled-backends))))
>   > 
>   > Tries every backend in sight until it finds one.  
> 
> That is fine.
> 
>   > Am I missing something?
> 
> Don't know, vc-BACKEND-registered should be an autoloaded function
> that should not cause vc-BACKEND.el to be loaded.  So this code should
> not be the cause of vc-bzr.el being loaded.

But this is a mapcar that goes over vc-handled-backends, which
includes bzr.  So eventually, it will call

               (vc-call-backend 'bzr file 'vc-backend)

which will load vc-bzr.el.  Am I right?




reply via email to

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