mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(package-install): Fix accidental regression
* lisp/emacs-lisp/package.el (package-install): Remove code re-added probably by erroneous merge.
This commit is contained in:
parent
256210477d
commit
4af7b4ce04
1 changed files with 0 additions and 4 deletions
|
|
@ -2033,10 +2033,6 @@ had been enabled."
|
|||
nil
|
||||
'interactive)))
|
||||
(cl-check-type pkg (or symbol package-desc))
|
||||
(when (or (and package-install-upgrade-built-in
|
||||
(package--active-built-in-p pkg))
|
||||
(package-installed-p pkg))
|
||||
(user-error "Package is already installed"))
|
||||
(package--archives-initialize)
|
||||
(add-hook 'post-command-hook #'package-menu--post-refresh)
|
||||
(let ((name (if (package-desc-p pkg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue