]> git.eshelyaron.com Git - emacs.git/commitdiff
* Fix usage of cl-destructuring-bind in package--delete-directory.
authorNicolás Bértolo <nicolasbertolo@gmail.com>
Mon, 8 Jun 2020 23:47:06 +0000 (20:47 -0300)
committerAndrea Corallo <andcor03@e112547.nice.arm.com>
Tue, 9 Jun 2020 13:59:15 +0000 (15:59 +0200)
* lisp/emacs-lisp/package.el (package--delete-directory): Fix usage of
cl-destructuring-bind.

lisp/emacs-lisp/package.el

index 904fc9e1094c0ac2fce7bbd85fe2c578c23b4ea7..0171fd56ffd83f54f01166308abc6b04ef9c69c5 100644 (file)
@@ -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)