1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

* lisp/emacs-lisp/package.el: Require url-handlers

This commit is contained in:
Artur Malabarba 2015-11-27 10:59:52 +00:00
parent bd12d933d8
commit 8eaba112c9

View File

@ -167,6 +167,7 @@
(require 'tabulated-list) (require 'tabulated-list)
(require 'macroexp) (require 'macroexp)
(require 'url-handlers)
(defgroup package nil (defgroup package nil
"Manager for Emacs Lisp packages." "Manager for Emacs Lisp packages."
@ -1115,9 +1116,6 @@ The return result is a `package-desc'."
(insert (format "Error while verifying signature %s:\n" sig-file))) (insert (format "Error while verifying signature %s:\n" sig-file)))
(insert "\nCommand output:\n" (epg-context-error-output context)))))) (insert "\nCommand output:\n" (epg-context-error-output context))))))
(declare-function url-insert-buffer-contents "url-handlers"
(fn file &optional arglist fileonly))
(defmacro package--with-work-buffer (location file &rest body) (defmacro package--with-work-buffer (location file &rest body)
"Run BODY in a buffer containing the contents of FILE at LOCATION. "Run BODY in a buffer containing the contents of FILE at LOCATION.
LOCATION is the base location of a package archive, and should be LOCATION is the base location of a package archive, and should be