diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-14 15:44:44 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-14 16:06:01 +0000 |
commit | e7f2c91bd112306c96643cd9e57b53527742a8db (patch) | |
tree | 6d45d754f8ad52b899b69af3f43d3dacc7f1a56e /lisp/emacs-lisp/ring.el | |
parent | ca947054e25fbc11bf8783166153567dcafdbe6c (diff) | |
download | emacs-e7f2c91bd112306c96643cd9e57b53527742a8db.tar.gz emacs-e7f2c91bd112306c96643cd9e57b53527742a8db.tar.bz2 emacs-e7f2c91bd112306c96643cd9e57b53527742a8db.zip |
Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
(package--with-work-buffer-async): Reimplement as
`package--with-response-buffer'.
(package--with-work-buffer): Mark obsolete.
(package--with-response-buffer): New macro. This is a more self
contained and less contrived version of
`package--with-work-buffer-async'. It uses keyword arguments,
doesn't have async on the name, doesn't fallback on
`package--with-work-buffer', and has _much_ simpler error
handling. On master, this macro will soon be part of another
library (either standalone or inside url.el), which is why this
commit is not to be merged back.
(package--check-signature, package--download-one-archive)
(package-install-from-archive, describe-package-1): Use it.
(package--download-and-read-archives): Let
`package--download-one-archive' take care of calling
`package--update-downloads-in-progress'.
Diffstat (limited to 'lisp/emacs-lisp/ring.el')
0 files changed, 0 insertions, 0 deletions