Add an autoload cookie to package-upload-file

* lisp/emacs-lisp/package-x.el (package-upload-file): Add an
autoload cookie (bug#26724).
This commit is contained in:
Lars Ingebrigtsen 2019-07-26 11:18:37 +02:00
parent 048bdc2740
commit 7ada677e3f

View file

@ -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