aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Malabarba2015-11-27 10:59:52 +0000
committerArtur Malabarba2015-11-27 11:02:05 +0000
commit8eaba112c952eecd5b7f17af40c29584a7172f59 (patch)
treeeb8a96f6b51f4dcc70510ae679dc2f440ede20ea
parentbd12d933d803ce547d59eba7b6f1900594c1426e (diff)
downloademacs-8eaba112c952eecd5b7f17af40c29584a7172f59.tar.gz
emacs-8eaba112c952eecd5b7f17af40c29584a7172f59.zip
* lisp/emacs-lisp/package.el: Require url-handlers
-rw-r--r--lisp/emacs-lisp/package.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 9029dbd8a2b..fdad84a117a 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -167,6 +167,7 @@
167 167
168(require 'tabulated-list) 168(require 'tabulated-list)
169(require 'macroexp) 169(require 'macroexp)
170(require 'url-handlers)
170 171
171(defgroup package nil 172(defgroup package nil
172 "Manager for Emacs Lisp packages." 173 "Manager for Emacs Lisp packages."
@@ -1115,9 +1116,6 @@ The return result is a `package-desc'."
1115 (insert (format "Error while verifying signature %s:\n" sig-file))) 1116 (insert (format "Error while verifying signature %s:\n" sig-file)))
1116 (insert "\nCommand output:\n" (epg-context-error-output context)))))) 1117 (insert "\nCommand output:\n" (epg-context-error-output context))))))
1117 1118
1118(declare-function url-insert-buffer-contents "url-handlers"
1119 (fn file &optional arglist fileonly))
1120
1121(defmacro package--with-work-buffer (location file &rest body) 1119(defmacro package--with-work-buffer (location file &rest body)
1122 "Run BODY in a buffer containing the contents of FILE at LOCATION. 1120 "Run BODY in a buffer containing the contents of FILE at LOCATION.
1123LOCATION is the base location of a package archive, and should be 1121LOCATION is the base location of a package archive, and should be