Commit ef6fa2fe authored by Artur Malabarba's avatar Artur Malabarba

emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'.

parent 219119e9
......@@ -3,6 +3,7 @@
* emacs-lisp/package.el (package--find-non-dependencies): New
(package-initialize): Use it to populate `package-selected-packages'.
(package-menu-execute): Clean unnecessary `and'.
2015-02-02 Michael Albinus <>
......@@ -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))))
;; Delete packages, prompting if necessary.
(when delete-list
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment