There should be ;;;###autoload comments for all of the user-facing commands (i.e. anything that's interactive). That way, package.el will automatically make and load a -autoloads.el file so the library doesn't have to be loaded until it's first used.
There should be
;;;###autoload
comments for all of the user-facing commands (i.e. anything that'sinteractive
). That way,package.el
will automatically make and load a-autoloads.el
file so the library doesn't have to be loaded until it's first used.https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload.html