Subject: Re: bug#12524: 24.2.50; package-delete errors if directory doesn't exist

From: Chong Yidong <[email-masked]>
Date: Thu, 27 Sep 2012 11:22:48 +0800

Ivan Andrus <[email-masked]> writes:

> If a directory for a package does not exist (say it was deleted outside
> of emacs), then package-delete errors, which causes further packages to
> not be deleted.

This patch doesn't look right.  The call to package-delete in
package-menu-execute is wrapped in a condition-case-unless-debug, so
errors in package-delete should still allow further packages to be
deleted, unless debug-on-error is non-nil.