summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <am12548@it055607.users.bris.ac.uk>2015-03-03 15:15:26 +0000
committerArtur Malabarba <am12548@it055607.users.bris.ac.uk>2015-03-03 15:15:26 +0000
commitbfbcec128a64c8d7d480140874c7bfa50ae803f7 (patch)
tree6a7c2a16364f3fbb0eab4775edfdc12dbf38bc6d
parent1903e25c17a0dce03710143659c0fa9e9c6d6494 (diff)
downloademacs-bfbcec128a64c8d7d480140874c7bfa50ae803f7.tar.gz
emacs-lisp/package.el (package-autoremove): Fix if logic.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/package.el4
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 <bruce.connor.am@gmail.com>
+
+ * emacs-lisp/package.el (package-autoremove): Fix if logic.
+
2015-03-03 Martin Rudalics <rudalics@gmx.at>
* 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."