|
From: | psachin |
Subject: | Re: Add hook by default |
Date: | Wed, 13 Apr 2016 20:19:29 +0530 |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |