>>>> "Andy" == Andy Piper
<andyp(a)parallax.co.uk> writes:
Andy> At 11:39 PM 6/15/98 +0200, Adrian Aichner wrote:
> ;;;###autoload
> (defun package-get (package &optional version conflict)
> @@ -229,6 +230,7 @@
> sum does not match that stored in `package-get-base' for this version
> of the package, an error is signalled."
> (interactive "xPackage List: ")
> + (load "package-get-base.el")
> (let* ((this-package
> (package-get-info-version
Andy> Doesn't this mean package-get-base.el is reloaded for every
Andy> package when you update your packages? If so this seems bad
Andy> to me. The original behaviour was that it got loaded once at
Andy> the beginning.
Hello Andy!
you're right.
I over-reacted in an attempt to make sure package-get-base is loaded
before it is used by any functions in package-get.el.
package-get.el hasn't been augmented in a long time (e.g. I submitted
a suggestion to make it fetch packages asynchronuously around the end
of March 98) and I don't think it's ready to ship.
It would probably be good enough to just
(require 'package-get-base)
at the beginning of package-get.el and get rid of the spreaded
(load "package-get-base.el")
altogether.
Adrian
Andy> andy
--
Adrian Aichner
Applications Engineer
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217
D-81673 MUENCHEN E-mail aichner(a)ecf.teradyne.com