summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-macs.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-11-14 15:44:44 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-11-14 16:06:01 +0000
commite7f2c91bd112306c96643cd9e57b53527742a8db (patch)
tree6d45d754f8ad52b899b69af3f43d3dacc7f1a56e /lisp/emacs-lisp/cl-macs.el
parentca947054e25fbc11bf8783166153567dcafdbe6c (diff)
downloademacs-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/cl-macs.el')
0 files changed, 0 insertions, 0 deletions