Skip to content

Commit

Permalink
Fixed a bug in package that prevented the deletion of packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jory committed Jul 23, 2011
1 parent 39cb3c2 commit 94e03d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.el
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ The file can either be a tar file or an Emacs Lisp file."
(file-name-as-directory
(expand-file-name package-user-dir)))
(progn
(delete-directory dir t t)
(delete-directory dir t)
(message "Package `%s-%s' deleted." name version))
;; Don't delete "system" packages
(error "Package `%s-%s' is a system package, not deleting"
Expand Down

0 comments on commit 94e03d4

Please sign in to comment.