summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/package-x.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-26 11:18:37 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-26 11:18:37 +0200
commit7ada677e3faa4316b2a330d8e2c06057261bd886 (patch)
tree07ccf46a3f3522f54a88d4a889d10fbf1f8543b4 /lisp/emacs-lisp/package-x.el
parent048bdc2740fbd8eb1378437d909d44db89c48ec1 (diff)
downloademacs-7ada677e3faa4316b2a330d8e2c06057261bd886.tar.gz
emacs-7ada677e3faa4316b2a330d8e2c06057261bd886.tar.bz2
emacs-7ada677e3faa4316b2a330d8e2c06057261bd886.zip
Add an autoload cookie to package-upload-file
* lisp/emacs-lisp/package-x.el (package-upload-file): Add an autoload cookie (bug#26724).
Diffstat (limited to 'lisp/emacs-lisp/package-x.el')
-rw-r--r--lisp/emacs-lisp/package-x.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package-x.el b/lisp/emacs-lisp/package-x.el
index 1486aeb3738..a84c63d8711 100644
--- a/lisp/emacs-lisp/package-x.el
+++ b/lisp/emacs-lisp/package-x.el
@@ -281,6 +281,7 @@ destination, prompt for one."
(let ((pkg-desc (package-buffer-info)))
(package-upload-buffer-internal pkg-desc "el")))))
+;;;###autoload
(defun package-upload-file (file)
"Upload the Emacs Lisp package FILE to the package archive.
Interactively, prompt for FILE. The package is considered a