emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bfbcec1: emacs-lisp/package.el (package-autoremove)


From: Artur Malabarba
Subject: [Emacs-diffs] master bfbcec1: emacs-lisp/package.el (package-autoremove): Fix if logic.
Date: Tue, 03 Mar 2015 15:15:39 +0000

branch: master
commit bfbcec128a64c8d7d480140874c7bfa50ae803f7
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    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 16206e2..af7d0d8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-03  Artur Malabarba  <address@hidden>
+
+       * emacs-lisp/package.el (package-autoremove): Fix if logic.
+
 2015-03-03  Martin Rudalics  <address@hidden>
 
        * 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 de1158d..885fb00 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]