Allow specifying local ELPA mirrors in package-archives.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 6 Mar 2011 03:22:06 +0000 (22:22 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 6 Mar 2011 03:22:06 +0000 (22:22 -0500)
commitf561e49a25cace5e6d3cf3b222d87fa483226f76
treedac80a926beb01ee9465369e617944640cfdd79e
parentad7d6ecb162a8154cc865a4c3514f5753208c3d1
Allow specifying local ELPA mirrors in package-archives.

* emacs-lisp/package.el (package-archives): Accept either ordinary
directory names, in addition to HTTP URLs.
(package--with-work-buffer): New macro.   Handle normal directories.
(package-handle-response): Don't display the failing buffer.
(package-download-single, package-download-tar)
(package--download-one-archive): Use package--with-work-buffer.
(package-archive-base): Rename from package-archive-url.
lisp/ChangeLog
lisp/emacs-lisp/package.el