> Can we do this programatically? so that users don't have to do this after
> installing an extension.
Yes, you can run any code you want with:
;;;###autoload
(blabla)
or
;;;###autoload (blabla)
Both will cause "(blabla)" to be added to the <pkg>-autoloads.el file,
which is preloaded when you run `package-initialize`.
Stefan