Browse files

Fix Emacs 23 compatibility

Up to Emacs 23.4, `delete-directory` takes two arguments only.
  • Loading branch information...
1 parent 78c69f1 commit b5c4127f80e7adc37ef76f48112131c062599d63 @lunaryorn lunaryorn committed Jul 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 package-legacy.el
2 package-legacy.el
@@ -1034,7 +1034,7 @@ The file can either be a tar file or an Emacs Lisp file."
(expand-file-name package-user-dir)))
- (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"

0 comments on commit b5c4127

Please sign in to comment.