diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-04-27 22:04:38 +0100 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-04-27 22:06:32 +0100 |
commit | f3b43fca47f797fa348f57de220035e6fcecc5c7 (patch) | |
tree | c2fa3d4082a1edcf8a555ca317a649d6ceadaa69 /lisp/emacs-lisp/package.el | |
parent | d320ec576d4a90c31e69afcd2bbc5353d5a3bc90 (diff) | |
download | emacs-f3b43fca47f797fa348f57de220035e6fcecc5c7.tar.gz emacs-f3b43fca47f797fa348f57de220035e6fcecc5c7.tar.bz2 emacs-f3b43fca47f797fa348f57de220035e6fcecc5c7.zip |
* lisp/emacs-lisp/package.el: Small improvements
(package--with-work-buffer-async): More informative error.
(package-install-user-selected-packages): Rename to
`package-install-selected-packages'.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
-rw-r--r-- | lisp/emacs-lisp/package.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 0392f616862..81e0ee970e0 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -1135,7 +1135,8 @@ arguments see `package--with-work-buffer'." (signal (cdar status) (cddr status))) (goto-char (point-min)) (unless (search-forward "\n\n" nil 'noerror) - (error "Invalid url response")) + (error "Invalid url response in buffer %s" + (current-buffer))) (delete-region (point-min) (point)) ,@body) (kill-buffer (current-buffer))) @@ -1949,7 +1950,7 @@ The file can either be a tar file or an Emacs Lisp file." (package-install-from-buffer))) ;;;###autoload -(defun package-install-user-selected-packages () +(defun package-install-selected-packages () "Ensure packages in `package-selected-packages' are installed. If some packages are not installed propose to install them." (interactive) |