diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-01 21:08:35 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-02 13:25:16 -0200 |
commit | ef6fa2fe0dbc09a637239b039bce5668c5215321 (patch) | |
tree | 28736feccd7b01985e4ae011e5220d2219578583 /lisp/emacs-lisp | |
parent | 219119e906f2e49e37567f29a7d9a1f82ece1760 (diff) | |
download | emacs-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.el | 2 |
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 |