diff options
author | Nicolás Bértolo <nicolasbertolo@gmail.com> | 2020-06-08 20:47:06 -0300 |
---|---|---|
committer | Andrea Corallo <andcor03@e112547.nice.arm.com> | 2020-06-09 15:59:15 +0200 |
commit | 4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6 (patch) | |
tree | 73d09ccc8f174b884654469dd1618d24c6257f22 /lisp | |
parent | 5e8cdca71a661a6d95355ac5fdaa1e2fa32ed0df (diff) | |
download | emacs-4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6.tar.gz emacs-4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6.tar.bz2 emacs-4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6.zip |
* Fix usage of cl-destructuring-bind in package--delete-directory.
* lisp/emacs-lisp/package.el (package--delete-directory): Fix usage of
cl-destructuring-bind.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 904fc9e1094..0171fd56ffd 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2215,7 +2215,7 @@ to `package-user-dir'." (condition-case err (delete-directory dir t) (file-error - (cl-destructuring-bind (reason1 reason2 filename) err + (cl-destructuring-bind (_ reason1 reason2 filename) err (if (and (string= "Removing old name" reason1) (string= "Permission denied" reason2) (string-prefix-p (expand-file-name package-user-dir) |