]> git.eshelyaron.com Git - emacs.git/commitdiff
emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'.
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 1 Feb 2015 23:08:35 +0000 (21:08 -0200)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 2 Feb 2015 15:25:16 +0000 (13:25 -0200)
lisp/ChangeLog
lisp/emacs-lisp/package.el

index dd8605a0f20b10049094ce34322b207a45b0a58d..1c0518b6e21de5e008f8fb542436ea6667cc7c8d 100644 (file)
@@ -3,6 +3,7 @@
        * emacs-lisp/package.el (package--find-non-dependencies): New
        function.
        (package-initialize): Use it to populate `package-selected-packages'.
+       (package-menu-execute): Clean unnecessary `and'.
 
 2015-02-02  Michael Albinus  <michael.albinus@gmx.de>
 
index 9a29d63ced2acd4ea185e591091e3b691384ec36..c4a658b3d2e9d1650bf0241cc5097064505e68ae 100644 (file)
@@ -2323,7 +2323,7 @@ Optional argument NOQUERY non-nil means do not ask the user to confirm."
                       (mapconcat #'package-desc-full-name
                                  install-list ", ")))))
           (mapc (lambda (p)
-                  (package-install p (and (null (package-installed-p p)) 1)))
+                  (package-install p (null (package-installed-p p))))
                 install-list)))
     ;; Delete packages, prompting if necessary.
     (when delete-list