In the *Packages* buffer I select a few packages to get rid of with d.
Then I execute with x.
d runs `pui-toggle-package-delete-key'
x runs `pui-install-selected-packages'
After the first package gets de-installed by
`package-admin-delete-binary-package' I get thrown to 'done because
the function returns nil.
part of pui-install-selected-packages':
(when (catch 'done
(mapcar (lambda (pkg)
(if (not
(package-admin-delete-binary-package
pkg (package-admin-get-install-dir pkg nil)))
----------------------------------> (throw 'done nil)))
pui-deleted-packages)
t)
(message "Packages deleted")
)
This is because the last form in `package-admin-delete-binary-package',
calling `package-delete-name' returns nil always!
;; Delete the package from the database of installed packages.
(package-delete-name package)))
What to do? Jan?
Adrian
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com