M-x package-install package-store
A simple adaption for Emacs' package system, this stores downloaded
packages directly in a cache. This promotes easier transfer to
other machines or disconnected (from the Internet) testing.
package-store's code can be found here:
This codes uses the Emacs style of:
for private functions.