From bfbcec128a64c8d7d480140874c7bfa50ae803f7 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 3 Mar 2015 15:15:26 +0000 Subject: [PATCH] emacs-lisp/package.el (package-autoremove): Fix if logic. --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/package.el | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 16206e2b6e1..af7d0d81323 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2015-03-03 Artur Malabarba + + * emacs-lisp/package.el (package-autoremove): Fix if logic. + 2015-03-03 Martin Rudalics * window.el (window--dump-frame): For pixel height return total diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index de1158d96a7..885fb00ce75 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1611,8 +1611,8 @@ will be deleted." (mapconcat #'symbol-name removable ", "))) (mapc (lambda (p) (package-delete (cadr (assq p package-alist)) t)) - removable) - (message "Nothing to autoremove")))))) + removable)) + (message "Nothing to autoremove"))))) (defun package-archive-base (desc) "Return the archive containing the package NAME." -- 2.39.2