diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-15 21:28:37 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-11-15 21:35:06 +0000 |
commit | 7cc233e1e3da297882c006c1f07c628fbd4e94d5 (patch) | |
tree | 569440df0ffd3eb688c5956a7d6354b1f83f1713 /lisp/emacs-lisp/generic.el | |
parent | 5f9153faaf767a039620a0a05a8ad0373cb24070 (diff) | |
download | emacs-7cc233e1e3da297882c006c1f07c628fbd4e94d5.tar.gz emacs-7cc233e1e3da297882c006c1f07c628fbd4e94d5.tar.bz2 emacs-7cc233e1e3da297882c006c1f07c628fbd4e94d5.zip |
* lisp/emacs-lisp/package.el: Fix a decoding issue
(package--with-response-buffer): Use `url-insert-buffer-contents'.
The previous code had some issues with decoding. Refactoring that
function allows us to use the decoding from url-handlers while still
treating both sync and async requests the same.
* lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
`url-insert-buffer-contents'.
(url-insert-buffer-contents): New function
Diffstat (limited to 'lisp/emacs-lisp/generic.el')
0 files changed, 0 insertions, 0 deletions