Thanx Stefan. That was really helpful. Appreciate your quick response :)

On Wed, Apr 13, 2016 at 6:31 PM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> 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





--