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: Dan Nicolaescu
Subject: Re: sh.exe needed to bootstrap on Windows?
Date: Mon, 16 Jul 2007 15:40:57 -0700

Eli Zaretskii <address@hidden> writes:

  > > 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?

I don't think so, it will call: (vc-call-backend 'BZR 'registered file) => it 
will
call vc-bzr-registered (which is autoloaded and it should return
false...). 




reply via email to

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