Fix M-x package-install failure if no archive has been fetched yet.
authorPhil Hagelberg <phil@hagelb.org>
Sat, 28 Jan 2012 09:49:29 +0000 (17:49 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 28 Jan 2012 09:49:29 +0000 (17:49 +0800)
commit70550acf88e5d7083d3aa83d201a8a7ebc3ba4b6
treeb75054d97335a37fa8b86ca9106a6d3a9f65d3cf
parent0ce8e868b9c704f5f8630e0b8df5550ecadb0e95
Fix M-x package-install failure if no archive has been fetched yet.

* emacs-lisp/package.el (package-install): Run
package-refresh-contents if there is no archive yet.

Fixes: debbugs:97978
lisp/ChangeLog
lisp/emacs-lisp/package.el