From 4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=A1s=20B=C3=A9rtolo?= Date: Mon, 8 Jun 2020 20:47:06 -0300 Subject: [PATCH] * Fix usage of cl-destructuring-bind in package--delete-directory. * lisp/emacs-lisp/package.el (package--delete-directory): Fix usage of cl-destructuring-bind. --- lisp/emacs-lisp/package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5