summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-01 21:08:35 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-02 13:25:16 -0200
commitef6fa2fe0dbc09a637239b039bce5668c5215321 (patch)
tree28736feccd7b01985e4ae011e5220d2219578583 /lisp/emacs-lisp
parent219119e906f2e49e37567f29a7d9a1f82ece1760 (diff)
downloademacs-ef6fa2fe0dbc09a637239b039bce5668c5215321.tar.gz
emacs-ef6fa2fe0dbc09a637239b039bce5668c5215321.tar.bz2
emacs-ef6fa2fe0dbc09a637239b039bce5668c5215321.zip
emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 9a29d63ced2..c4a658b3d2e 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -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